Hello Bruno,

On 03.02.2004 19:54, Bruno Dumon wrote:

    <wd:validation>
      <wd:assert test="If(persontype = 0, Not(IsNull(lastname)), true)"/>
    </wd:validation>

The expression language doesn't have a predefined true constant, instead 'true' here means a variable named true which likely doesn't exist, unless you would happen to have a widget with id 'true'.

Instead, use the True() function.

replacing true with True() my tests do never fail now. Neither the change to the Or() based test like Vadim's test nor simply just "Not(IsNull(lastname))" return the expected false. Is there a verbose mode available anywhere for debugging what's going on?


Joerg

Reply via email to