Hi All,

  Iam using tiles for my project which has a header,menubar, body & footer.


 For *body* i have a registration form, for which iam validating using
validator frame. For which the code is given below. When i enter only
numbers in the password field it works fine & the *resultpage* will be
displayed & ALSO the page will be in the tiles(body) only. Suppose if i
enter characters in the password field its not displaying msg "please enter
only numbers"  (ComposeForm.password.valid) & ALSO the *resultpage *is
coming out of the tiles & displays as a single page. Any solution.

<!-- compose form Validation-->
<form name="InfoForm">
   <field  property="fname" depends="required">
       <arg0 key="ComposeForm.fname"/>
  </field>
  <field  property="password"  depends="required,mask">
       <msg name="mask" key="ComposeForm.password.valid"/>
       <arg key="ComposeForm.password"/>
       <var>
               <var-name>mask</var-name>
               <var-value>^[0-9]*$</var-value>
       </var>
  </field>
  <field  property="email" depends="required,email">
         <arg0 key="ComposeForm.email"/>
     </field>
</form>

Thanks in advance.

Regards
Rauf Khan

Reply via email to