I have a field which is being validated as: 

      <field property="income" depends="validwhen,float">
        <arg key="income" position="0"/>
                <var>
          <var-name>test</var-name>
          <var-value>
                        ( *this* &gt; 0 )
          </var-value>
                </var>               
      </field>

Well the validwhen has a bunch of other conditions. I just left them out
for clarity.

Anyways, this field is a float and its valid when its value is greater
than 0. This works perfectly when I enter a 0 in the field i.e. I get an
error. But if I type in 0.0, it validates fine. Not only that, if I type
in .1 in the field, I get an error whereas this should be a valid value.
But 0.1 works fine. I can only think this is a bug in the validation.

Has anyone else noticed this issue? Any ideas or workarounds?

Harsh.

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

Reply via email to