Hi All
Is it possible to make your Own rules to validate the form field.

As in intake.xml file we define the rule name tag with name= 
minlength,maxlength and mask etc. Can we create another validation too Other 
than which the turbine provides. If Yes how can we?? 

<group name="Login" key="login">

<field name="Username" key="u" type="String">

    <rule name="minLength" value="1">Please enter an email address</rule>

    <rule name="mask" value="[EMAIL PROTECTED]">Please enter a valid email 
address</rule>

</field> 

</group>



Thanks and Regards

Tarun

Reply via email to