Safety Exit Button: add exit button to the form that redirects to a random website

  • abdulmughees3409
    Asked on October 28, 2020 at 10:32 AM

    here is an example of my issue I want a button when the user clicks on it the form will disappear and another redirect on another site: https://css-tricks.com/website-escape/

    this form is used for protection orders. We need to have a button that a user can quickly click on and be redirection to a random website (ex. google.com)

    Safely Exit: this is a button that we would like to add. it should stick to the corner and visible all the time even when scrolling the page. Once you click on this button, it will redirect to a different page (google search for example).

    Jotform Thread 2662509 Screenshot
  • Anita_K
    Replied on October 28, 2020 at 11:50 AM

    Hi,

    thank you for reaching out to us. I believe you should be able to accomplish this by embedding your JotForm to a website, using one of the Embed Methods: https://www.jotform.com/help/34-embedding-a-form-to-a-web-page

    Then, you can create the button directly on the site as described in the tutorial you've linked.

    Currently, we don't have any built-in functionality that would do this, and you also can't add JavaScript to a form which would be needed to this. However, I will submit a feature request to our developers, so that they can consider creating a built-in feature like this.

    Please note that we can't give ETA on feature requests, but you will be notified via this thread if an update is available.

  • Mughees
    Replied on October 28, 2020 at 12:41 PM

    Hi thanks, but my question is still stand I want to make a button on the form when the user clicks on it, and form should disappear and goes to redirect anywhere it is call emergency button.

  • Anita_K
    Replied on October 28, 2020 at 1:55 PM

    Please note that there has been a feature request submitted for this. We currently do not have a feature like this, but you will be notified if this becomes available.

    Until then, the only workaround is to create the button on a separate site.