I have a validation rule that looks like this...

<field property="phoneExt"
        depends="mask">
        <arg0 key="phone"/>
        <arg1 key="phone.ext"/>
        <var>
                <var-name>mask</var-name>
                <var-value>^\s*\d*\s*$</var-value>
        </var>
</field>

However, it considers the phoneExt field required. Can anyone tell me why?
I want the phoneExt field to be optional, and if filled out, to use the
given mask.

thx
andy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to