Hello everyone, how should I apply constraints to the attributes of my asset?
I want to have a text field to insert only a time in the format HH:MM.
For that, I thought about applying a regex. But I am having trouble applying it.
Another equally interesting rule for me would be to limit the possible ranges for attributes that are integers numbers. If someone could explain, I would be very grateful.
Hello Shawn,
To match time in HH:mm the regex expression that i think was:
^(?:[01]\d|2[0-3]):[0-5]\d$
My question is about the way to declare this constraint to an attribute. Because the text field called Constraints, expects a json string. I didn’ t find the syntax for constraints json keys.