Quick question from a JS newbie:
I have a form which does some validation ie makes sure you enter first name, last name etc. However I have a textarea which is not required but if the user does fill it out, I need to prevent the user from entering a 5 or more consecutive numbers. So you can enter 1234 but not 12345 so not more than 4 consecutive numbers.
Please any help would be great.
Thanks
I have a form which does some validation ie makes sure you enter first name, last name etc. However I have a textarea which is not required but if the user does fill it out, I need to prevent the user from entering a 5 or more consecutive numbers. So you can enter 1234 but not 12345 so not more than 4 consecutive numbers.
Please any help would be great.
Thanks