What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    I Need To Redirect One Form to Multiple URLs based on ZIP (user data)

    Asked by elaw on December 17, 2014 at 07:38 PM

    Hey!I am trying to make my form collect a zip code from a user. Once the zip is gathered, i want that to forward to a page specific to that zip code.

    EXAMPLE:

    user enters 45459 for zip code and completes the rest of form. then redirects to custom url: http://www.napower.com/710370/rates-and-plans/select-provider?zip5=45459&customerType=0&x=137&y=13

    (NOTE THE ZIP IN THE URL above.) that zip code will be different upon each user that fills the form out. Is there a way of doing this with jotform at all?

     

    Page URL:
    www.ohioenergysupplier.com

    one form JotForm custom url different plans
  • Profile Image
    JotForm Support

    Answered by Charlie on December 17, 2014 at 09:20 PM

    Hi,

    You can do this by getting the field name of the zip code field and inserting it to your custom URL. You can follow the screenshot below. I've cloned your form for testing purposes.

    1. Click the Properties of the Zip Code field of your form and get the name of it.

    2. Navigate to the "Thank You" page setting and choose Custom URL.

    Based from the link you have above, this is how it will look like.

    http://www.napower.com/710370/rates-and-plans/select-provider?zip5={zipCode}&customerType=0&x=137&y=13

    The {zipCode} is the name of the field where the value will depend on the users input.

    3. Here's the edited cloned form that I have: http://form.jotformpro.com/form/43507621950958

    Here's our guide in finding the field IDs and Names, How to Get Field IDs and Names.

    I hope this helps. Let us know if you need more assistance on this.

    Thank you.

  • Profile Image

    Answered by elaw on December 18, 2014 at 11:53 AM

    Easy enough it sure did! Thanks so much for the answer here! I guess the only thing i need to do is set up commercial so when they click a different box, it does the second string of urls by zip. (im assuming i can use same methods and just add conditions to make this work.)

     

    Thanks again, and Jotform is THE BEST! It's the only place i use for contact forms. :)

  • Profile Image
    JotForm Support

    Answered by Charlie on December 18, 2014 at 12:02 PM

    You're welcome. I'm glad that it worked for you.

    If you need an assistance again or have any other concerns with regards to building your form, please feel free to open up a new thread here in the forum, we'll be more than happy to help you.

    Again, thank you for your kind words. We'll continue to improve and innovate our products and services to give the best experience and functionality our users want. 

  • Profile Image

    Answered by Richard  on January 17, 2015 at 04:18 PM

    I need to re route, in bound web form inquires , via ZIP code, to agents across USA

    can anyone suggest a solution,

     

     

     

     

     

  • Profile Image
    JotForm Support

    Answered by Kiran on January 17, 2015 at 08:21 PM

    Hello Richard,

    Your question is moved to a separate thread and shall be addressed there.

    http://www.jotform.com/answers/498080

    Thanks!