I want to validate a form fields (text) input. It should only be a number between 5 and 10. I know there is the validate-number class, but this does not check the numbe range. Is there some way to do that with Prototype?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
i found this validation script based on prototype. A number-range is also supported.
prototype validation script