This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Form Validation

Aditya Karnad
Posts: 16
Eclipse IDE Firefox Browser Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey everyone,

Don't really need help. Just wanted to help out people who are struggling with form validations. I wrote some javascript methods that can easily validate anything and everything... its configurable too. Check it out.

Use the validateInput function on blur for the element and validateMandatory funtion on click of the submit button... for mandatory fields, make sure the id tag name string has 'Mandatory' heres the code...

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic