I saw on this thread how to ensure that only numbers can be entered for text entry:
How to set a field to number only?I specifically used this solution to make it so respondents can only enter integers between 0 and 9:
jQuery("#"+this.questionId+" .InputText").attr({'type':'number','min':'0', 'max':'9'});
However, I've noticed that a minus sign can still be entered (e.g., "- 5"). Is there some way to prevent this possibility?
Solved
How to ensure that negative number can't be entered for text entry?
Best answer by rondev
Check this post
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
