PDA

View Full Version : Need form validation JavaScript



jimbomac
09-02-2006, 04:48 AM
i have created a form...with a java code.....ALL I NEED TO KNOW IS HOW TO ENTER A VALIDATION CADO...SO WHEN PEOPLE FORGET TO ENTER DATA A MESSAGE WILL APPEAR FOR EXAMPLE: "PLEASE ENTER YOUR NAME" AND SO ON...BEFORE THEY CLICK THE SUBMIT BUTTON...




URGENT ......!!!! PLEASEEEE!

ddadmin
09-02-2006, 05:59 AM
I think you mean you're looking for a form validation script, to ensure that certain fields are filled out before the user is able to submit a form? If so, here are a few such scripts:

Required field(s) validation (http://www.dynamicdrive.com/dynamicindex16/requiredcheck.htm)
Form validation scripts (http://www.javascriptkit.com/script/cutindex13.shtml)

Note: Please avoid typing in all-caps in the future (that implies shouting). Also, JavaScript is NOT Java. Java is a compiled language.

vikasbhagwagar
09-04-2006, 06:48 AM
Try this generic JavaScript validator 1.0 (beta)

http://www.vikaskbh.com

:)