When I leave an integer field blank in a form generated by the admin
generator the actual value stored in the database is 0.

However, this breaks validation with the sfNumberValidator as the
permitted values for this particular field is a nubmer between
1960-2020 if a number is entered. Is there a way to change this so
that it doesn't try to store the value 0 when the field is actually
blank?

If I try to create this object directly with propel it's stored as
expected, I only run into the problem when I save through the admin
generator.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to