Site Setting Integer Validation Issue

I am facing integer validation problem in many of the site settings like if we pass a string to that integer field its conversion is turning it to zero and I thought, it should take the minimum value or default value. Along with that, it appears that the string value in that field is set and then on refreshing a page it sets to 0.

Eg: suggested topics: writing into the text field as hello , appears to be set and on refreshing a page it sets to 0.

3 Likes

The suggested solution for issues like this is usually “don’t do that.” And if you do, don’t click the submit button for a value that you don’t want.

4 Likes

yup, you are right @JayPfaffman