Needs review
Project:
Phone Number
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2012 at 15:15 UTC
Updated:
2 Jul 2012 at 16:55 UTC
Jump to comment: Most recent file
Comments
Comment #1
leksat commentedAttached patch fixes the bug.
Comment #2
leksat commentedI found another validation errors and fix them:
1. Removed double field validation via #element_validate and hook_field_validate().
2. Removed validation of generic things like maxlength of select option, because Drupal do this job as well.
3. $errors variable is used instead of form_set_error().
Please review the patch.