How do I restrict user to enter value greater than 0.6 in the response field?

@Kal_Lam
In the same manner, i have a similar query.

I want to restrict user to enter value greater than 0.6 in the response field.
like
Acceptable values
0.6
1.55
2.58
9.04

Not acceptable values
2.98
10.67
13.89
7.61

What would be the constraint code?

@vicks88, you could do it as outlined in the post discussed previously:

1 Like

This would be a complete series which needs to be restricted…

In decimal form… like i want to restrict value after the decimal part…
so 0.6 is acceptable but 0.61 isnt
so 2.6 is acceptable but 4.781 isnt
so 10.06 is acceptable but 12.81 isnt

SO there could be so many numbers after decimal which needs restriction …

In such a case what changes in the above REGEX code is required?

Maybe if this is the case, you could restrict your input by a regex code for the decimals as outlined in the support article:

For details, please feel free to go through our support article Restricting Text Responses With Regular Expressions.

In addition, you could also combine a regex code and the constraint together as outlined in the post discussed previously:

Thanks a lot. I will try codes among these

1 Like