The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
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! |