How can i create a constraint in my survey form?

If the type is integer, you might just use a range constraint, see here

2 Likes