Hi, would someone be so kind to help me with the following problem: A date field should only be validated if another checkbox isn't selected. I'm not sure how to do it: Do I have to use validwhen or reiqired-if?? I cannot find any good examples or references concerning my problem.
Here is my code snippet: <form name="ItemForm"> <field property="time" depends="requiredif,date"> <arg0 key="error.form.time"/> <var> <var-name>var</var-name> //-->this is the property that should decide if a check is necessary or not (the bean-property of a html-checkbox) <var-value>(selectionForShift==false)</var-value> </var> Help would be highly appreciated as this is really driving me crazy Thanks a lot Julian -- Echte DSL-Flatrate dauerhaft für 0,- Euro*! "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl -- GMX Produkte empfehlen und ganz einfach Geld verdienen! Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]