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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Expression of the validator

martingalaz
1-Visitor

Expression of the validator

Hello:


I added two input parameters to the validator, both are booleans, I wired up those to a service result, in the expression  field (which is too small and annoying to work, just comment here) i want to check if both are true, so I did: 'if(param1&param2)' then the otp should it be true or false right?


Am I missing something?


Ty.



3 REPLIES 3
paic
12-Amethyst
(To:martingalaz)

Not sure if you have a typo, but in Javascript I believe that should be "if(param1&&param2)' two &s

Since you're checking to see if they are both true, you could simply use: param1 && param2


No need for the if statement.



Thank you Adam.

Announcements


Top Tags