Creating a text field based on a range of numbers from calculation.

  • WatsonJoshua
    Asked on April 24, 2024 at 2:31 PM

    Hi so I run a mobile bike shop and im trying to creat a form that calculates what tune the person needs based on two major questions. I already assigned values to the answers on the two question. Then I used the calculation field to multiply them and come out with a number. I have calculated for example if the answer is between 0 and 600 it is a level 1 tune 6-1200 is a level 2 tune and 1200-2000 is a level 3 tune. I just need to create a text field that populates the corresponding tune based on the calculation. Hopefully this all makes sense. Thank you for your help!


  • Jemuel JotForm Support
    Replied on April 24, 2024 at 3:23 PM

    Hi Joshua,

    Thanks for reaching out to Jotform Support. Upon checking, I can see that you have already set up the calculation and its value, as well as the text field for the tune-up level. Now, you need to add the conditions to show the correct tune level. Let me show you how:

    1. In Form Builder, click on Settings at the top.
    2. Click on Conditions on the left, and click on Add condition.
    3. Select Show/Hide Field. Creating a text field based on a range of numbers from calculation Screenshot 60
    4. Now, set up the conditions as shown below: Creating a text field based on a range of numbers from calculation Screenshot 71 Creating a text field based on a range of numbers from calculation Screenshot 82 Creating a text field based on a range of numbers from calculation Screenshot 93
    5. Lastly, click on Save.

    Here's my result: Creating a text field based on a range of numbers from calculation Screenshot 104

    Here's my demo form. You can clone it to test or inspect.

    Give it a try, and let us know if you need more help.

 
Your Answer