posted 19 years ago
Hi
Following is the code in validation.xml, I am not getting an error message for MASK attribute validations. Please Help!
<field property="size" depends="maxlength,mask">
<!-- This Field is Required, Numeric and MaxLength=3 -->
<arg0 key="aPDForm.size"></arg0>
<var>
<var-name>mask</var-name>
<var-value>^[0-9]*$</var-value>
</var>
<arg1 name="maxlength" key="${var:maxlength}" resource="false"/>
<var><var-name>maxlength</var-name><var-value>4</var-value></var>
</field>