Setup Thank You page URL redirect based on time survey is submitted.

  • art_crate
    Asked on June 14, 2016 at 1:25 AM

    Hello,

    I would like to have the thank you page redirect be based on the time the survey is submitted. Below are examples.

     

    8am PST - 9pm PST = Thank You page URL A

    9:01am PST - 7:59am PST = Thank You page URL B

     

    How would I achieve this? Please let me know if you need additional information, Thanks!

  • Chriistian Jotform Support
    Replied on June 14, 2016 at 2:20 AM

    I believe that is indeed possible to achieve. Simply follow the steps below.

    1. First add a time field and set the default time of that field as the current time.

    Setup Thank You page URL redirect based on time survey is submitted Screenshot 40

    2. Then setup a "Change Thank you page" condition based on the time on the time field.

    Setup Thank You page URL redirect based on time survey is submitted Screenshot 51

    Do the same to the other time and your conditions should look like the one below.

    Setup Thank You page URL redirect based on time survey is submitted Screenshot 62

    Here's a demo so you can see it in action: https://form.jotform.com/61650779000957 
    You can also clone the form to your account to see the conditions. 

    If you need further assistance, please let us know.
    Regards.

  • art_crate
    Replied on June 15, 2016 at 3:44 AM

    You're awesome that did the trick! 

    Thank you!

  • art_crate
    Replied on June 21, 2016 at 2:35 AM

    Hello,

     

    So it appears that the time stamp and redirect is based on the customers time. Is there any way to have it based on my time PST?

  • Chriistian Jotform Support
    Replied on June 21, 2016 at 3:05 AM

    That is correct, the time is based on the customer's time. Unfortunately it is not possible to base the time field on a certain timezone such as PST. The time field can only be based on a default time or the current time of the user. A possible workaround I could suggest would be to use javascript to convert the time to another timezone. However, that would require using the full source code of the form and hosting it on your own server.