Multiple constraints expression for a field?

546
2
Jump to solution
07-14-2023 09:46 AM
BryceHancock
Occasional Contributor

Hi, I have an integer field where I have added the following expression to the constraint field:

.>0 and .<360 or .-99

 

I want the user to be constrained to enter numbers between 0 and 360, or allow a -99 to be entered. Can this be done with a constraint field? If so, what is the proper expression?

 

 

0 Kudos
1 Solution

Accepted Solutions
MobiusSnake
MVP

(.>0 and .<360) or .=-99

View solution in original post

2 Replies
MobiusSnake
MVP

(.>0 and .<360) or .=-99

BryceHancock
Occasional Contributor

Thank you, it appears

.>0 and .<360 or -99

, works as well.

0 Kudos