Hello,
I have multiple integer fields that represent percentages. My user would like to only allow 5% percent classes, e.g., 0, 5, 10, 15, 20...
How would you best write a constraint for this? I would rather not create a select one for something like this.
Thanks in advance!
Solved! Go to Solution.
Or, this is cool!
constraint="(. mod 5) = 0"
From this web page:
This worked perfectly! Thank you!