Stop a button from being clicked twice.

  • gopink
    Asked on April 1, 2017 at 8:46 PM

    I have added a button to a form. Clicking the button take you to a URL. Is there a way to disable the button once clicked? Thus if the user hits the back button on their browser they would not be able to click the same button a second time.

  • liyam
    Replied on April 2, 2017 at 2:32 AM

    Unfortunately, it's not possible to set browser controls on the form (such as disabling the back button). The solution I could think of is placing your form's full HTML source into your own web page and insert some javascript codes from there which will allow you to disable the back button, or even disable the links after a click. If you like this idea, please let us know, we'll be glad to assist you further. 

    For information on how to get your form's full HTML source, you can check this guide: https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form 

    Thanks.