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

    Create a condition where fields are visible if the value of one field equals the value of another field

    Asked by jfleischauer on January 28, 2015 at 10:17 PM

    Long version of my problem:

    I'm trying to create an approval form using the basic ideas at http://www.jotform.com/answers/267403 and http://www.jotform.com/answers/500138-How-to-have-multiple-step-Approval-Form-with-Hidden-fields. I've got everything working pretty well, but I would like to have a per-submission "password" that is included in the notification email to the approver that is required to access the approval screen (accomplished by having an optional password field on the first page, and if the correct password is entered it enables a page break and associated fields on the main form). I'm using the Random Value Generator widget to create the password, but I'm hitting a snag in that I can't find a way to incorporate the widget value into the condition to show the approval fields. 

    TL;DR version:

    Is there any way to set a show/hide condition to check the value of a text box against the value of another field (rather than a hard-coded value)?

    Edit: Figured it out (sort of) - didn't realize you could put field names in conditions.

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Charlie on January 29, 2015 at 08:20 AM


    You could also try using the Form Calculation widget to fetch the value and add it to your Conditions. I see that you have edited your post and it seems that you have already figured out a possible workaround?

    If you are still having problems do let us know and we'll try to help you.

    Thank you.