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

Rule Editor - field not visible, when value1 OR value2

Former Member
0 Likes
457

Dear all,

I would like to hide the "All-Day Event" checkbox in Appointments, depending on the type of appointment. I works fine with the formula shown on the screenshot for ONE value, but I want the rule to apply not only for '121', but also (for example) for '131' and '151'. Can this be done (with OR) and if so, what would the exact syntax of the formula be? I tried "Root.KategoriedTermins_3c9d3414bf68ba45bc751686b9926a0e != OR('121', '131')", but it won't work

Thanks in advance!

BR Martin

Accepted Solutions (1)

Accepted Solutions (1)

graysongates
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Martin,


Try below

OR(Root.KategoriedTermins_3c9d3414bf68ba45bc751686b9926a0e=="121", Root.KategoriedTermins_3c9d3414bf68ba45bc751686b9926a0e=="131")

Regards,

Grayson

Former Member
0 Likes

Hi Grayson, I needed to write '121' instead of "121" - other than that: works perfect!

THANK YOU!

Martin

Answers (0)