<field property="amt" depends="validwhen">
     <msg name="validwhen" key="lbl.notvalidnumber"/>
     <var>
           <var-name>test</var-name>
<var-value>( ((*this* == "") or (*this* != null)) and (*this* >= 0) )</var-value>
     </var>
</field>

want the value to be greater than 0, but can be empty or null. Also no chars are allowed.

trying using above. but the error gets shown when is a null or empty value.

how to fix this?

Thanks.

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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

Reply via email to