-
How can validate the form fields with action path
How can validate the form fields with action path (using in validation.xml) using validator framework?
Question asked by visitor yogarajan A
-
Junior Member
Re: How can validate the form fields with action path
sorry can u explain what kind of fields need to be validated?
-
Junior Member
Re: How can validate the form fields with action path
Hi,
instead of using form bean name at name attribute use action path.
like
<form-validation>
<form-set>
<form name="action path">
<field property="username"
depends="required">
<arg key="logonForm.username"/>
</field>
<field property="password"
depends="required,mask">
<arg key="logonForm.password"/>
<var>
<var-name>mask</var-name>
<var-value>^[0-9a-zA-Z]*$</var-value>
</var>
</field>
</form>
</formset>
</form-validation>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules