Placing OR condition

Hi,

How can I use an OR condition inside the validation.

Basically, I would like to post a message if the age is less than 1 or greater than 100

a!integerField(
label: "Age",
labelPosition: "ABOVE",
value: ri!employee2.age,
saveInto: ri!employee2.age,
refreshAfter: "UNFOCUS",
validations: if(
ri!employee2.age < 1 |or ,
"You must enter proper age",
""
)

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data