<validator type="zak_form_validator_compare_date" type_comp="lt" element1="date_from" format1="%d/%m/%Y" element2="date_to" format2="%d/%m/%Y"></validator>
+ <validator type="zak_form_validator_composite">
+ <logic type="or" message="It needs to be valued «Birthday» or «Date from» and «date to»">
+ <logic type="and">
+ <validator type="zak_form_element_validator_notempty" element="date_from"></validator>
+ <validator type="zak_form_element_validator_notempty" element="date_to"></validator>
+ </logic>
+ <logic type="and">
+ <validator type="zak_form_element_validator_notempty" element="birthday"></validator>
+ </logic>
+ </logic>
+ </validator>
+
</zakform>