aspose file tools
The moose likes Blatant Advertising and the fly likes Form Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Other » Blatant Advertising
Bookmark "Form Validation" Watch "Form Validation" New topic

Form Validation

Aditya Karnad

Joined: Feb 20, 2007
Posts: 15

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...

It is sorta covered in the JavaRanch Style Guide.
subject: Form Validation
It's not a secret anymore!