First, sorry for my English :S …
Hi! I’ve searched about my problem into the forum but I didn’t find any
When I fill, for example, an email field my model validates the
presence, uniqueness, max-length (128) and format (a regular
If a user doesn’t fill that field, the validation returns two messages:
- The message about the field is blank (yeeeee).
- The message about the field haven’t the correct format (buuuu).
I only want to show the first message. Is there any way to do the
validation sequentially and stop when a validation doesn’t be correct?
an example: first => presence, second => format, third => max-length,
fourth => uniqueness…
Last, sorry for my English :S …