View Single Post
  #1 (permalink)  
Old October 10th, 2012, 04:26 PM
LastnameFirst LastnameFirst is offline
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 4: Symfony (1.x): Phone "1234567900" is not an integer.

sfValidatorInteger needs to change to sfValidatorNumber in BaseAddressForm.class.php so that a standard 10-digit phone number can be validated.

That will make the error message go away at any rate. But doesn't address the root cause which is how Symfony/PHP handles long integers.

Having to do this is a pain though since it's an auto-generated file.
Reply With Quote