Answered
I created a list and had LCD specify values for it. Many choices on the list should have the same results displayed.
The rawValue function works if their is only one choice (i.e. this.rawValue == 6)
I want something like,
if (this.rawValue == 2 , 3 , 8 , 21)
where the commas mean "or" so if the User picks 2, 3, 8, or 22 they get the same display results.
Is that possible? If so, what is the proper syntax.
Thanks,
Gillian
You should follow normal javascript syntax.
AND condition : '&&'
OR condition : '||'
so do like,
if ((this.rawValue == 2 ) || (this.rawValue == 3 ) || (this.rawValue == 8) || (this.rawValue == 21)){