Form logic on multiple fields...

  • Profile Image
    plott
    Asked on October 31, 2017 at 07:52 AM

    I have a form that has 3 hidden fields.  Upon selecting certain values in other fields these fields are made visible.  I have logic that checks these 3 fields and if the value in any is 'DNP' then I display yet another field.  However, I need to have the ability to re-hide this field if the value is reset to something other than 'DNP'.  I'm struggling with this logic, as I check for 'equal to' and 'not equal to' in all of the first 3 fields, and they can be conflicting.

    Thank you.

  • Profile Image
    Kevin_G
    Answered on October 31, 2017 at 09:13 AM

    I have cloned and inspected your form, I noticed you're showing a text element based on the selection made on any of the fields "State Place Finish"; however, you have set the text element as hidden and adding some conditions as well to hide and show the field. 

    15094552361.png

    15094552782.png

    Please note that when you have set up conditions to show a field, the affected field will be automatically hidden, the same happens if you are conditionally hiding a field, it will be automatically displayed so there is not need to handle that. 

    I would recommend you to try doing the following: 

    1. Disable the condition to hide the text element: 

    15094554011.gif

    2. Turn off the hidden property on the text element: 

    15094554643.png

    This will be the result: 

    15094555362.gif

    Please note that the text element will be shown if any of the state place finish fields has the DNP option selected. 

    I hope this information helps.