cancel
Showing results for 
Search instead for 
Did you mean: 
Nintex Newbie

Format control based on this OR that

Jump to solution

Greetings all,

I'm having problems this morning conditionally hiding a control based on two conditions. Hardware is a multichoice field, (which I realize after further work needs to be evaluated as contains(Hardware,"Other") to equal true if more than one item are selected), and Computer_Type is a single choice field.

I'm trying to reveal a people picker when Hardware type is "Other" or Computer Type is "Non-Standard Equipment." I also tried just breaking this into two separate rules but that won't work because one rule supersedes the other...

I have tried the following:

The following only evaluates true if BOTH are true

(Hardware!="Other" || Computer_Type!="Non-Standard Equipment")

(Hardware!="Other") || (Computer_Type!="Non-Standard Equipment")

or(Hardware!="Other",Computer_Type!="Non-Standard Equipment")

These conditions break the form preview entirely (it just appears blank)

(Hardware!="Other" or(Computer_Type!="Non-Standard Equipment")) //I get why this broke after reading the Help file

if(Hardware!="Other" | | Computer_Type!="Non-Standard Equipment", True, False) //I added a space in between the pipes, because there was a space between them in the Help file

if(Hardware!="Other"| |Computer_Type!="Non-Standard Equipment", True, False) //Again with the space...

And these conditions just do nothing...

or(contains(Hardware,"Other"), (Computer_Type!="Non-Standard Equipment"))

if(Hardware!="Other" || Computer_Type!="Non-Standard Equipment", True, False)

0 Kudos
Reply
1 Reply
Highlighted
Nintex Newbie

Re: Format control based on this OR that

Jump to solution

Hi Daniel,

Looks like you were close!

Try:

If(or(contains(Hardware,"Other"),Computer_Type=="Non-Standard Equipment"),false,true)

Cheers,

Mark

View solution in original post

Reply