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

    Can a Condition Be Created to Change the Label of a Field Depending on an Answer given in Another Field?

    Asked by Pablo on March 11, 2015 at 06:58 PM

    Hi JotForm Team!

    Is there any way we could modify the labels of our form when our clients start to fill in the fields?

    For example:

    Question 1: What is your favorite color?
    Answer: Blue

    Question 2: Why is "Blue" your favorite color?

    I don't know if I am explaining well my question to you. Any doubts please contact me.

    Thanks.
    Pablo

    JotForm conditions wizard duplicate fields change label
  • Profile Image
    JotForm Support

    Answered by abajan on March 11, 2015 at 10:51 PM

    Hi Pablo,

    It's not possible to do this in the form builder but one workaround would be to create duplicate fields, change the label of each duplicate and then create conditions to show the appropriate duplicate depending on what is selected/entered in the other field. Here's a small demo of what I mean. If you were to clone it and examine it, you'd see the following Show/Hide conditions:

    To actually alter the label of a field based on what is answered in another field would require embedding a copy of the form's full source into a web page and adding a custom script.

    Here's a guide on our conditions wizard but if you need further help with this, please inform us.

    Thanks