Stop a button from being clicked twice.

  • Profile Image
    gopink
    Asked on April 01, 2017 at 08: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.

  • Profile Image
    liyam
    Answered on April 02, 2017 at 02: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.