Welcome Guest, Not a member yet? Register   Sign In
Best way to disable going back to form page after user has clicked submit?
#5

[eluser]bgreene[/eluser]
I had a similar problem (emulating a cancel button and using history.js) and it comes from the fact that each time the users clicks submit, any error will call the form again so if the user makes 2 attempts to submit then the back button effectively has to be clicked twice. The solution i came up with was to block the submit action and verify the form data using ajax before proceeding. this way backclick will always bring you to the form being viewed before the submit form.


Messages In This Thread
Best way to disable going back to form page after user has clicked submit? - by El Forum - 10-10-2013, 08:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB