Discussions

Expand all | Collapse all

How do I redirect to a thank you page after ""everyone on the internet"" role submits a form?

  • 1.  How do I redirect to a thank you page after ""everyone on the internet"" role submits a form?

    Posted 04-13-2016 20:18

    I have a form that I am sharing with everyone on the internet, but the results are private. When someone submits the form, they are brought to the database, and it says they do not have permission to view. How do I make it so that when they click submit, it brings them to a thank you for your submission page, or even just brings them back to the form to submit again?



  • 2.  RE: How do I redirect to a thank you page after ""everyone on the internet"" role submits a form?

    Posted 04-13-2016 20:45
    The low tech way is to make a Form that just says Thank you for your order ..... and then set up the Forms usage tab so that the Everyone on the Internet role uses that form to View.  Then allow them to View all records.

    ie one form to ADD and for Edit / View use the "Thank you" form with no actual fields.


  • 3.  RE: How do I redirect to a thank you page after ""everyone on the internet"" role submits a form?

    Posted 04-13-2016 20:51
    Jean Has A Long Mustache ~ Add Record
    https://haversineconsulting.quickbase.com/db/bksiwtfzc?a=nwr

    Pastie Database
    https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=500


    What a terrific day - we hit 500 pasties today!

    Update: replaced history.pushState( ) with history.replaceState( ) in thanks.html.


  • 4.  RE: How do I redirect to a thank you page after ""everyone on the internet"" role submits a form?

    Posted 07-09-2017 05:42
    Dan

    I have implemented your suggestion here and it works for me, but it also redirects to the same page when you hit the cancel button. Is there a way to make sure the cancel button doesnt take you to the thank you page?


  • 5.  RE: How do I redirect to a thank you page after ""everyone on the internet"" role submits a form?

    Posted 07-09-2017 22:43
    What page do you want the Cancel button to take you to? It isn't clear to me what page you would go to as I don't even know how the anonymous user navigated to the add record page in the first place.


  • 6.  RE: How do I redirect to a thank you page after ""everyone on the internet"" role submits a form?

    Posted 07-09-2017 23:08
    We give them a link from our website. Maybe we could open a fresh form if they cancel. Or send them back to the website .