Page 1 of 1

expire a page after form submission

Posted: Mon Mar 09, 2009 3:21 am
by dheeraj
i have a registration form & as the user registered by clicking on submit button, he has been redirected to the thanks page. Now the problem is when he clicks on back button of the browser he get the form filled with previous data. So for protecting this i want to expire that registration form after submission.

Is there is any way to do it....

Re: expire a page after form submission

Posted: Mon Mar 09, 2009 5:03 am
by user333
Why do not you try setting default values with some JS for the fields?
Something like this:
in the loading event you call a function that sets the values for the fields in the form(Some Defaults)
then when the user clicks in the field just clear the box.
Try it and tell us whether it works?