Home > Forum > Forms > How to show/hide an Item List field using a Yes/No field

How to show/hide an Item List field using a Yes/No field
0

I've been trying to utilize the form rule for the Yes/No field named "Service Line" to show "Service Line Items" item list field when it is ticked to Yes and be hidden if it is unticked or set to No.
The problem is the "Service Line Items" item list field is showing on default when opening the form and even though the "Service Line" is still set to No on default.

Thanks in advance for the help

MVP
In reply to: Jacek Wojnar

Hi,
rule looks OK.
but you have to put it in two places (the easiest way is to make "Form rule" and use it twice)
1. "Style and behavior" (where you did it)
2. Tab "Behavior" in "Main Form"

Regards

I'll add to this, that it's not necessary to put it on 'Main Form' 'Behavior' - this will work on every step, and might lead to errors if field will not be visible in specific step.
It is possible to set it per step basis, docs here: https://docs.webcon.com/docs/2024R1/Studio/Workflow/Step/Step_FormView/