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

  • jfleischauer
    Asked 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.

  • Charlie
    Replied on January 29, 2015 at 8:20 AM

    Hi,

    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.