The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Field Defaults disappear from View 'General' settings - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17)
+--- Thread: Field Defaults disappear from View 'General' settings (/showthread.php?tid=4955)



Field Defaults disappear from View 'General' settings - ADaniel - Dec 31st, 2014

Using FormTools 2.2.6. For one of my Internal Forms, I added 2 field defaults under the 'General' tab on a particular View. They worked fine, and the defaults showed up perfectly when I created a new record. I then added 9 additional field defaults for the same View. Made sure to click 'Update' after adding them. Added a new test submission, and only the original 2 field defaults showed up, none of the additional 9 defaults were present. Went back to the General tab for the View, and All the default settings were now gone. Yes, even the original 2 that were working fine.

?? Thinking this is a bug ?

I'll add my defaults back using the hooks manager this time, hard coding them there, as that was a heck of a lot of typing to set those defaults up, and I don't want to risk losing them from the View area again. But, wanted to report it as possible bug in the Form View, General Tab, Default Settings area of the code.

All 11 fields are 'text area' fields, and the default field data was anywhere from 60 to 200 characters in length -- if that helps to figure out what may have caused this to happen.