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
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
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
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
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
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
Selections not saved to database - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Selections not saved to database (/showthread.php?tid=309)



Selections not saved to database - Nowton - Sep 29th, 2009

Form: http://www.latinfanatics.com/advertisers/signup-form.php
Thanks: http://www.latinfanatics.com/advertisers/thanks.php
PHP5, Mysql5.

All data except for selections ('Uw voorkeur') saved to database. They just show up as blank fields. Please help...this project is getting way out of hand.


RE: Selections not saved to database - Nowton - Sep 29th, 2009

After further tinkering here is what I discovered. Emailmessages containing selection values do not get their character count updated; I changed it from less than 20 to 256 and even TEXT. These changes are not reflected in mail. I also discovered that my selection are not visible in the views but are visible in mail. Something's really off here.


RE: Selections not saved to database - Ben - Oct 4th, 2009

Hi Nowton,

So within Form Tools, do you have EXACTLY the same select box options (option text + option value) as the form itself? That's the first place I'd check. If the values being passed from your form (i.e. the option value="" attributes) aren't identical to the option values in the dropdown lists within Form Tools, nothing will show up.

Let me know if that helps at all...

- Ben


RE: Selections not saved to database - Nowton - Oct 5th, 2009

I managed to get the system working, by recreating the formtools entry. From now on, whenever I change anything in the form, I suggest everyone do the same. Recreating took 5 minutes and resulted in a flawless install. I'd advise anyone against any interim updating, for instance of form values.


RE: Selections not saved to database - Ben - Oct 5th, 2009

Good tip, thanks.

For everyone else reading this, it's important to bear in mind that Form Tools duplicates the form fields at the time you first added the form. So whenever you make custom changes to your form later on, you'll also need to tweak it within Form Tools.

This is a nuisance, I know - but it also allows for complete separation of form & processor, which is terribly handy because you can create forms via any tool and in any language (HTML, Flash, Java applet, Silverlight, etc.).

- Ben


RE: Selections not saved to database - Nowton - Apr 8th, 2010

A word of warning: using v2.0.0 you have to update 1. the form, 2. the field in FT AND 3. the (client)view!