Forums

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

Set condition by exclusion

Adrian M
Contributor
January 17, 2023

I have a dropdown that has 5 options. I need to show another field (Charge Code) only when Option2 is selected and hide it if any other option is selected. 

I have the show rules macro working. For the hide macro I can write the condition as "If selection = Option1 OR Option3 OR Option4 OR Option5 then hide ChargeCode field". Instead of writing that how can I write it as "if selection!=Option2 then hide ChargeCode field"?  This way if I add more options to the drop down I dont have to update the hide rules macro.

1 answer

0 votes
Adrian M
Contributor
January 18, 2023

Syntax is: !MyField:Option2

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events