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 pass values from one field to other?

    Asked by Aiden123 on November 06, 2015 at 09:52 AM

    How to make this form have a conditional drop down that will pass a different hidden field value based on the selection from another drop down?

    I'm trying to make this form have a conditional drop down that will pass a different hidden field value based on the campus selection:

     

    If campus is “this_vaue”

    Then “xxCampaignId” is “this_vaue

     

    I have a form with a campus drop down that we need to be a Conditional Drop down based on this argument:

    Example:

    If "campus" is equal to “Atlanta, GA”

    Then “xxCampaignId” is (this is a hidden filed) “0534mfnk5" 

     

    Please let me know how we can serve a separate hidden value as a condition of the campus that is selected.


    Form:

     

    https://form.jotform.com/53084754169968

     

    Thank you!

    Page URL:
    https://form.jotform.com/53084754169968

    Screenshot
    hidden different Selection another
  • Profile Image
    JotForm Support

    Answered by BJoanna on November 06, 2015 at 12:08 PM

    If I understood you correctly to pass values from one field to other field based on selection of "Campus" field.

    It is not possible to pass values from one dropdown field to other dropdown field, but you can pass values to text box field.

    What I would suggest you is to set options form “xxCampaignId” field inside of your "Campus" field as calculation values of that field. First value needs to be blank.

    Then add one text box field to your form and set conditional logic "Update a form field value" based on selection of "Campus" field. Also you need to set Campus field to be from a-z.

    Here is my demo form: https://form.jotform.com/53095110721950? 

    Feel free to clone it

    Hope this will help. Let us know if you need further assistance. 

  • Profile Image

    Answered by Aiden123 on November 06, 2015 at 04:18 PM

    I will try that out... thank you!

  • Profile Image
    JotForm Support

    Answered by BJoanna on November 06, 2015 at 04:46 PM

    You're welcome.

    Feel free to contact us if you have any other questions.