cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Workflow Hero

Form rule to hide panel if a text box has a value

Jump to solution

Good evening,

I'm trying to hide a panel if a text box contains a value (any value) and I can only get the opposite to happen.

I have a text field called SRPNo. If the field has not value the panel named DivAuth needs to be completed. If a value is entered into the SRPNo field the DivAuth panel needs to be hidden.

The only thing I can make work is isNullOrEmpty(SRPNo) however this gives me the opposite of what I want. One site I found referened using SPRNo!=" which is supposed to hide the panel if the field is not blank, however when I add this rule and test it the entire form does not show up.

Any ideas would be appreciated.

Thanks

Andrew

Labels: (2)
0 Kudos
Reply
2 Replies
Workflow Hero

Re: Form rule to hide panel if a text box has a value

Jump to solution

Hi Andrew,

you should be able to use the following syntax to show the field only if SRPNo has no value:

not(isNullOrEmpty(SRPNo))

or

!(isNullOrEmpty(SRPNo))

Both do the same it's up to you what syntax you like more.

Best regards,

Enrico

Reply
Workflow Hero

Re: Form rule to hide panel if a text box has a value

Jump to solution

Thanks Enrico. This worked perfectly.

Andrew

0 Kudos
Reply