[Chiba-users] validation of optional fields
Creators discontinued Chiba & founded betterFORM http://betterform.de
Brought to you by:
chibaxforms,
windauer
From: Andriy V. <And...@gm...> - 2007-07-25 07:47:39
|
I have following problem, my model defines some optional fields (required="false()"), and some of them have strict types like nonNegativeInteger, etc. Form itself makes reloads of instance data (replace="instance"), after reload i got validation errors in these optional fields. Before submit these fields were empty. I think these optional fields shouldn't be validated if they are empty and defined as optional, or am i missing something ? |