Hello there
I have a product which need to have a value specified by the customer.
This value can be between -30 and 100.
I tried with a textarea and a regex /^-?[1-9]\d{0,2}$|^0$/
Everything works fine except for the value "0"
I also tried with an input instead of a textarea.
The regex is good, and not the problem. I think it comes from the way the script is written but I can't find it to edit it.
Is there someone here with a solution ?
Thank you and have a nice day !