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 change the value of textbox based on another field value?

    Asked by rmccoy on May 08, 2016 at 08:20 PM

    if i have a field with say a number from 30-49, how can i have another field show "30-49" and so on.  This is being used to determined the age group category for a someone based on their age.  For instance a 28 year old would make the field say "20-29"

  • Profile Image
    JotForm Support

    Answered by ashwin_d on May 08, 2016 at 09:48 PM

    Hello rmccoy,

    I am not sure if I have understood your question correctly.

    Do you mean to say that you want to change the value of a textbox based on the value of another form field?

    Yes it is possible to achieve your requirement by taking advantage of our conditions feature. I did check your last edited form and found that you have a form field "AGE CATEGORY". Is this the field where you want to show the range based on the value of "AGE" field? Please check the screenshot below how to achieve this:


    You may also like to take a look the following demo form I created for your:  https://form.jotform.com/61287509002956  Feel free to clone this form for a closer look. The following guide should help you in form cloning:  https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    Hope this helps.

    Do try it out and get back to us if you have any question.

    Thank you!