Results 1 to 3 of 3

Thread: How can validate the form fields with action path

  1. #1
    Geek_Guest
    Guest

    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


  2. #2
    Junior Member
    Join Date
    Jan 2007
    Answers
    22

    Re: How can validate the form fields with action path

    sorry can u explain what kind of fields need to be validated?


  3. #3
    Junior Member
    Join Date
    Aug 2008
    Answers
    15

    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
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact