The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Error when switching forms - 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: Error when switching forms (/showthread.php?tid=2437) |
Error when switching forms - Printline - May 3rd, 2013 Hi' There I have a strange problem which i need someone to help me with. I have three external multiple-page forms, all using the API method. They have three seperate ID's (1,2 and 3). An example which illustrates my problem: If a user goes to my website and start filling out form 1. He doesn't finish filling in form 1, meaning he doesn't submit. Instead he founds out that he needs to fill out form 2 instead. He closes form 1, and starts filling out form 2 instead. He submits form 2, but somehow the system/browser still thinks he is using form 1, so the system submits what he has filled in, in form 2, as form 1. It is the same the other way around. Whatever form the user picks first, the system thinks he finishes this form even though the user changes form. Can anyone tell what can cause this...??? Below is the php code used on the first page of each of the three forms. PHP Code: <?php PHP Code: <?php PHP Code: <?php RE: Error when switching forms - Joe - May 3rd, 2013 Hey there, Until the user finalizes a form, a session is stored for the form that they initially started filling out. The session needs to be clear before they start filling out the next form. Typically, the session is cleared in the thank you page: http://docs.formtools.org/tutorials/api_multi_page_form/?page=step3 Cheers, Joe |