Hide/Show a field based on Yes/No

  • 13 January 2020
  • 3 replies
  • 13 views

Badge +1

Hello,

I am trying to Hide/Show a field based on the input of Yes/No checkbox.

So, i have a yes/no box, a label and a single line text box.

If I check the yes/no box, the label and a single line text box should hide. How do i accomplish this?


3 replies

Badge +1

Forgot to attach the image.

Userlevel 6
Badge +22

Hi,

 

On the Label and the Single Lines of text control add a Fromatting rule configured to hide and use the formula:

equals(YesNoControlName,false)

See sample form attached which demonstrates this.

Badge +9

Because the control evaluates to true or false, simply use the control name as formula.

Reply