• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.