Hello,
I am using this code which does not assert true for input of 55555:
[code]
/**
* @validation:NotBlank(message="You must enter your zip code.")
* @validation:AssertType(type="int", message="You entered an
invalid zip code.")
* @validation:MaxLength(5)
*/
private $zipCode;
===========
OR
/**
* @validation:NotBlank(message="You must enter your zip code.")
* @validation:AssertType(type="integer", message="You entered an
invalid zip code.")
* @validation:MaxLength(5)
*/
private $zipCode;
[/code]
This code works fine, but of course is not proper for what I want.
[code]
/**
* @validation:NotBlank(message="You must enter your zip code.")
* @validation:AssertType(type="numeric", message="You entered an
invalid zip code.")
* @validation:MaxLength(5)
*/
private $zipCode;
[/code]
Can someone check to see if they are having a similar issue so I can
report it as a bug or be proved wrong?
Thanks in advance & Thanks you for such a sweet framework.
~DisTurBinG
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" 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-devs?hl=en