Is it possible to redirect user to a different URL on submit based on zip code?

  • webtools@heart.org
    Asked on September 5, 2014 at 10:39 AM

    I know about conditions, and I am assuming you'd require a drop down of available zips, then have the conditions say "if this zip, then go here".  But is there a more concise way, or a way to have it do a block of them?

  • David JotForm Support
    Replied on September 5, 2014 at 12:51 PM

    Hi,

    You are correct, the only way to accomplish this would be to add a condition based on one of your fields:

    Is it possible to redirect user to a different URL on submit based on zip code? Image 1 Screenshot 20

    You can set the field to only accept zip codes containing certain numbers.  You could have the condition be:

    If field "A" contains "99" redirect to "X URL".

    This would allow for any number containing "99" to redirect to that URL.  You could also do as you said and create a dropdown with a block of zip codes.

    Let us know if you have any further questions and we will be happy to help.