When I apply this formatting to my double in my form definition file I am seeing a weird issue with truncating my data, instead of throwing a validation error.

The convertor I have applied:

<fd:datatype base="double">
  <fd:convertor type="formatting">
      <fd:patterns>
          <fd:pattern>#,##0.00</fd:pattern>
      </fd:patterns>
  </fd:convertor>
</fd:datatype>

When I enter a number such as 123abc the number that is stored is 123.

What I would expect to happen is that a validation error would be thrown showing the number I entered to be invalid.

Is there a fix to this behavior? or do you know what might be causing this?

Thanks,
Dan


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

Reply via email to