Skip to main content
Nintex Community Menu Bar

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

  • September 4, 2017
  • 2 replies
  • 18 views

Forum|alt.badge.img+6

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

2 replies

Forum|alt.badge.img+12
  • Nintex Partner
  • September 4, 2017

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


Forum|alt.badge.img+6
  • Author
  • Rookie
  • September 4, 2017

Thanks Enrico. This worked perfectly.

Andrew