Posts: 63
Threads: 9
Joined: Nov 2009
Reputation:
0
So, a 4 page form with validation and everything completed so that the values on each page should hold correctly if the user goes back a page etc.
This works fine if I go back from page 4 to page 2 etc, but if I go all the way back to page 1, I lose all of the values on the other 3 pages.
Does anyone have any idea why this might be happening?
Thanks in advance.
Posts: 2,456
Threads: 39
Joined: Dec 2008
Reputation:
6
Interesting... so when you go back to page 1, all the fields on page 1 are still entered? Sounds almost like the sessions are being emptied back on page 1, but I don't know why that would occur.
If you like, email me at ben.keen@gmail.com with the form URL; I'd kind of like to see it. If you could email me the form code as well, that'd be very helpful! (Oh, and mention this thread: I keep losing track of what goes where these days.... must be getting old).
- Ben
Posts: 9
Threads: 5
Joined: Mar 2012
Reputation:
0
Hi Ben,
has this been solved and if yes, how? I am using the FormBuilder Default Template set and then the included "Navigation - Simple" template. When I enter something on page 3 and then use the navigation to go back to page 2, my values are lost when I then (via the "Continue" button on the bottom) move forward again to page 3.
I have looked at the code and since the links in the navigation are simple <A> tags with a href="?page=2" I don't see how the form values could possibly be saved when moving backwards among pages.
Shouldn't there be a submit action and then a request for a previous page?
That said, I looked at the "Continue Button" Template and was surprised that the <INPUT type="submit"> wasn't between the <form> tags, so I'm not quite shure how you are submitting the form?
Many thanks for your help,
p.