How can we stop the history back button from taking us back to form

  • Profile Image
    jskus
    Asked on September 23, 2015 at 07:21 AM

    hello:-

        Sir, 

          when we submit button every thing is ok , but in web explorer when i click back page why its redirected to my prevoius entry form page kindly say us how i stop it if any one click here it will not redirected to form previous page.

    i attach here one file also for you.

  • Profile Image
    Ben
    Answered on September 23, 2015 at 11:30 AM

    If I understood you correctly, you are looking to stop people from going back in the browser to the previous submission?

    Please note that this is not possible to change, as your users will always be able to click on the back button, which can show them the data that they had entered - depending if the autofill feature has been enabled or not.

    If you do not want them to submit the same data again, you could set the Form Limits on your form so that this can not happen.

  • Profile Image
    jskus
    Answered on September 23, 2015 at 11:37 AM

    Sir, actualy i want to say if the customer click on back button after submission, he never see previous data which he entere. I do not set any limit for any usser .just say if he click back only new blank forum show, cause naw if he click on back same entry show and create problem sir. Kindly tell me the steps 

     

  • Profile Image
    Ben
    Answered on September 23, 2015 at 12:58 PM

    I have checked and see that you do not have the autofill option turned on, so this is happening simply as a default reaction of your browser with any HTML form.

    Please do note that browsers will try to save the entered data into some form to be able to help you re-submit the form if that is needed by some chance - for example if your internet connection breaks during submission, you can always click back to retry.

    The same happens if the form values are not filled out properly, so you are shown the option to go back and fix the issue.

    As such, it means that it can not be turned off.

  • Profile Image
    jskus
    Answered on September 24, 2015 at 12:38 AM

    SIr, 

       this problem is happen when some one complete his from and submit this every thing is ok but when he click on this button

     

     

     

    so here is create problem and same from submit once more

  • Profile Image
    jskus
    Answered on September 24, 2015 at 12:39 AM

    so i actually want never this page redirected to previous fillip form i already turn on auto fill but same problem create kindly help me its very important 

  • Profile Image
    Welvin
    Answered on September 24, 2015 at 09:56 AM

    That is a browser specific thing and there's no way you can force the form data to disappear when someone clicks the back button in the browser. If you want to prevent someone from submitting the form twice with the same information, you can set the limits as originally suggest by my colleague.

    Thanks