Hi all, I have following issue with Validator I have a form that has, between other fields, two fields, destinationReference and destinationName.
destinationName is required only when destinationReference is null AND the parameter 'buttonSelected' is 'find' destinationReference is ALWAYS required EXCEPT when 'buttonSelected' is 'find' and destinationReference is not null any hints? Following the validator guide I have entered following in the validation.xml <field property="destinationName" depends="validwhen"> <arg0 key="prompt.destinationName"/> <var> <var-name>test</var-name> <var-value>(buttonSelected == "find") and ((destinationRef == null) or (*this* != null))</var-value> </var> </field> </form> this works fine for the destinationName field I am missing how to specify destinationReference is ALWAYS required except When destinationName is NOT null and buttonSelected is 'find' Anyone can help? Thanx in advance and regards marco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]