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

    How to conditionally pass data from one form to another?

    Asked by RogerYelvington01 on February 20, 2017 at 07:18 PM Page URL:
    https://form.jotform.com/70504486114956

  • Profile Image
    JotForm Support

    Answered by Kevin_G on February 20, 2017 at 09:15 PM

    You could create the customized link with the data passed from the first form, for example, here're the variables to capture the data from the first form fields:

    select club - {homeClub}

    select name - {input304}

    select position - {position} 

    select email - {input306} 

    You can also follow this guide to get the form fields names: https://www.jotform.com/help/146-How-to-find-field-IDs-and-names 

    To receive the data in the destination fields you only need to use its name without the {}. Now do note that to pass the selected option from one drop down to another one they both must have the exact same options, otherwise the second drop down will not be pre-populated. 

    Here's a sample link passing data from the First Form to the New Member - Welcome Form:

    https://form.jotform.com/70508391580962?homeClub={homeClub}&memberName={input304}&memberEmail={position}    

    Once you have the link you only need to set up the condition, redirect to the link once certain selection has been made. Here's a guide that will help you with that: https://www.jotform.com/help/317-Change-Thank-you-URL-Based-on-a-Condition 

    Sample condition: 

    Here's also the link to my cloned form of yours where you can see how it works, please select the first form to be redirected: https://form.jotform.com/70508285321957 

    Feel free to clone it: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    If you have any question, please let us know. 

  • Profile Image

    Answered by RogerYelvington01 on February 20, 2017 at 11:47 PM

    Can this work to post hidden fields as well?

  • Profile Image

    Answered by RogerYelvington01 on February 21, 2017 at 12:04 AM

    Also, it seems like it worked one time initially, when I tested the post data to the opening form, but then upon additional submissions it stopped working. 

    Primary Starting Form:
    https://form.jotform.com/70504486114956

    Post to Form:
    https://form.jotform.com/51543959296974?homeClub={homeClub}&input304={input304}&input306={input306}&position={position}

     

    Please advise, thank you!

    Roger

  • Profile Image
    JotForm Support

    Answered by Charlie on February 21, 2017 at 01:08 AM

    What do you mean by "additional submissions and stopped working"? 

    I believe this guide would also help you: https://www.jotform.com/help/351-How-to-Automatically-Pass-Form-Data-to-Another-Form. With that guide and using the conditional logic to redirect to a different form, then that would meet the requirements you have. 

    You can indeed pass the hidden fields to another form with the same way on how you do it on non-hidden fields. 

  • Profile Image

    Answered by RogerYelvington01 on February 21, 2017 at 01:12 AM

    What I'm stating is that after I created the post URL, it worked on the first test.  However, after the first test submission it stopped worked.  Please see the links.

    Thank you!

  • Profile Image
    JotForm Support

    Answered by Charlie on February 21, 2017 at 01:34 AM

    Your form https://form.jotform.com/70504486114956 has text that includes the character "#" in the "select club" drop down field, example "Manassas #3142", that character is breaking the link which is why it is not populating your target URL's fields. I am not sure why it worked for the first time, though. 

    Try changing the character "#" with a complete word like "number" and see if that works.

    We'll wait for your response.