The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Adding new form - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: Installation (https://forums.formtools.org/forumdisplay.php?fid=4) +--- Thread: Adding new form (/showthread.php?tid=1298) |
Adding new form - ozzy00100 - May 12th, 2011 Hi there, I am trying to add a new field to a form, that is already working. I tried add a new form rather than creating a new field. I've added the tags with the hidden field, and submitted a new form entry. On completion, I am told there is an error 101 - not sure how to go about fixing, without trying to using code. Any help would be greatly appreciated. Thanks in advance. Ozzy RE: Adding new form - Ben - May 16th, 2011 Hi Ozzy, Sorry for the wait. The 101 error means that the form ID you're passing it the ID of an existing form - one that's already been configured via the Form Tools interface. Often, I find I just copy & paste code from another form and accidentally cause this error. The other possibility is that you started a form using the old form ID, then updated it in your code, but then the sessions were already created so when you put through a submission it had the old form ID in memory. For that, an easy trick it to either use a different browser (sessions won't be created in that browser) or visit your thankyou page. That page should be set to empty your sessions. Good luck! - Ben RE: Adding new form - ozzy00100 - May 26th, 2011 Thanks for this Ben, will give this a go. ![]() |