Hi,

I want to validate a form:
company field may only be filled if the selected (by radiobutton)
addresstype is equal to CN

I try to do this via:
<form-validation>
<formset>
     <form name="addressForm">
        <field property="company" depends="validwhen">
            <arg0 key="error.company"/>
            <var>
                <var-name>test</var-name>
                <var-value>((*this* != null) and
(addressType=="CN"))</var-value>
            </var>
        </field>
     </form>
    </formset>
</form-validation>

without anyl uck..and cannot find any error messages in de log file.
Who can help me?

Reply via email to