Hi All,
I am new to Validator framework.I am trying to validate a form on the browser itself.But the validation is not happening.Please find the code below.
this is my
JSP form page which i want to validate
my Validation.xml
<formset>
<!-- An example form -->
<form name="firstForm">
<field
property="name"
depends="required">
<arg key="firstForm.name"/>
</field>
<field
property="password"
depends="required,mask">
<arg key="firstForm.password"/>
<var>
<var-name>mask</var-name>
<var-value>^[0-9a-zA-Z]*$</var-value>
</var>
</field>
</form>
</formset>
[/code]
and i have put the subsequent entries in the struts-config.xml also.
I think onsubmit javascript event handling is not happening
please help
Thanks in advance
Saurav