Page 1 of 1

Expire form after submitted if user attempts to go back

Posted: Mon Sep 10, 2012 7:06 pm
by frshjb373
Not sure if this is the best place to be posting this topic so please let me know if this can better addressed somewhere else. Anyways, I have a form, that upon submission creates a return shipping label automatically. To avoid users going back and attempting to resubmit the form (which will thereby run the script to create another shipping label), I'd like to figure out a way to completely expire that form page...or redirect the user to another page if going back.

Any advice or resources would be much appreciated. Thanks!

Re: Expire form after submitted if user attempts to go back

Posted: Tue Sep 11, 2012 5:06 am
by pbs
You can set unique key for shipping label field in database or to any other field which is unique, so that data will not be repeated when page is refreshed or anybody click the back button. May this will help you.