Skip to main content
Nintex Community Menu Bar

I have a choice field with the following options 

 

APPROVE
APPROVE WITH COMMENTS

REJECT
REJECT WITH COMMENTS

I would like a panel with a multi line text box to only show if either of the two options 'with comments' are selected. At the moment I can only get one to work using the following rule. When I tried to add an or() function it would not work.

24121i4E7CB7D6964F34B9.png

 

 

Hi @Cerys 


 


Easy fix...


The Choice control


Name: "Outcome"


Format: Option button 


Value: "1|APPROVE,2|APPROVE WITH COMMENTS,3|REJECT,4|REJECT WITH COMMENTS"


  



 


The Panel (with the Multiline Text Field)


ShowComments Rule



( Outcome == "2" || Outcome == "4")

 


HideComments Rule



Not( Outcome == "2" || Outcome == "4")

 


That should do the trick


 


PS: For the Choice control,


instead of using "APPROVE, REJECT" where OUTCOME value will be "APPROVE" or "REJECT"


I'm using "1|APPROVE, 2|REJECT" where OUTCOME value will be "1" or "2


Hi @Garrett, this worked perfectly, thank you!


Hey, You're most welcome @Cerys 


 


 


 


Reply