Skip to main content
Nintex Community Menu Bar

Logical values

  • March 28, 2017
  • 2 replies
  • 11 views

Forum|alt.badge.img+7

I need create a formula for hide a select controlos.
What is the best pratice
I do:

Formula Builder

There is other way  like if emailuser not in ('aaaa','bbbb','ccccc')

2 replies

Forum|alt.badge.img+8

Hi Jose,

I guess both the formula (the way you have used) are different ...

If(emailuser!="jose.fidalgo@coficab.com" || emailuser!="ricardo.almeida@coficab.com" || emailuser!="amelia.paulino@coficab.com" || emailuser!="cedric.soares@coficab.com" )

In the above example -

if emailuser = jose.fidalgo@coficab.com, then the condition emailuser!="ricardo.almeida@coficab.com" will be true and it will disable the control .. you might probably need && (and clause) to be sure that all the conditions are checked? 

Regards,

Shrini


Forum|alt.badge.img+12
  • Nintex Partner
  • March 29, 2017

Hi Jose,

are you trying to disable the control for specific users?

Another approach might be to add your users to a new SharePoint group. Afterwards you place a rule on your control which is:

fn-DoesMemberExistInAudience(current user, your new groups name)

The inline function will check if the current user is in the group specified. If true you can disable/hide the control. The method is an inline function. Rules will only show you runtime functions so you will have to copy/write the function's name itself but they do work flawless in rules and also mobile apps so you should give it a try.

Kind regards,
Enrico