0

http://pastebin.com/8n9jyMb3

There is the code. When I submit the form it doesn't run the validate() function. I have tried this exact thing with some different code and it works but for some freak reason it wont work right now. Please help. This ghost error is killing me.

0

2 Answers 2

1

You have extra closing bracket. Instead of

 else if(field.length) < 3) 

should be

 else if(field.length < 3)
Sign up to request clarification or add additional context in comments.

Comments

1
`else if(field.length) < 3)  `

is not right syntax please correct this and remove extra closing bracket
replace above with this on

else if(field.length < 3) 

1 Comment

WOW! Thank you. I guess it was a compile error or something because just that fixed it. Thanks :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.