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 do I use multiple fields to conditionally populate another field

    Asked by jaysecreast on June 16, 2016 at 09:41 PM

    I have a form that will be used for baseball registration, the user will enter the child's gender and date of birth. The form already calculates the child's age automatically.

    What I am trying to do is take a combination of the child's gender and their age to create an output field that will display the division they will be placed in.

    EX:

    if gender = male and age = 9 then output would = 9/10 baseball

    if gender = female and age = 12 then output would = 11/12 softball

     

    There will need to be many different outputs based on the gender and age, but was unsure how to accomplish this (I would normally say using a case statement, but didn't know if that was possible)

     

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

    multiple fields conditions
  • Profile Image
    JotForm Support

    Answered by jonathan on June 16, 2016 at 10:51 PM

    Please test my form https://form.jotform.com/61678860212963

    It work like this...

    The Conditions I created is like this

    As you can see, you can use Update/Calculate field values to achieve population of a field base on different/multiple fields value.

    You can clone the test form also so that you can review it on your Form Builder.

    User guide: https://www.jotform.com/help/42-How-to-clone-an-existing-form-from-a-URL

    Let us know if you need further help.