Wednesday, July 16, 2008

Steven Pothoven for President


P. Pasupathy said...

how do i code the jsp file and make changes according to your java script functionality......

P. Pasupathy said...

send me how to use that formValidation.js file help me

P. Pasupathy said...

tell me how to use the formValidation.js file in my jsp file

Steven Pothoven said...

Just make sure the HTML that your JSP is returning contains the code:

<script src="
<script src="javascript/formValidation.js"></script>
var vf = new FormValidation();
vf.addValidationForField("date", "date", "date");

where the vf.addValidationForField function is repeated as necessary for each field in your form.