Displaying 1 result from an estimated 1 matches for "emaill_address".
Did you mean:
email_address
2006 Jun 16
0
high-level validation : error messages order
...ess, :with =>
/^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i,
:if => Proc.new { |record| record.email_address != '''' }
testing it, with no name, no city, no phone, but with a wrong
email_address, I get normally all 4 errors-
but not in the correct order..
* name
* city
* emaill_address
* phone
which is not related to the order of the fields in my form...
is there any way to get the list of error messages in relation with the
list of the field in the form ??
--
Posted via http://www.ruby-forum.com/.