I would like to inform the users about attribute validation conditions
for form fields using title as in .
The simplest way would be to use the validation error messages already
defined in the models, but I cannot find any way to retrieve these
messages, when no error has been made. The methods I have tried as
errors.full_messages only returns the messages for errors that have been
made
On Jul 22, 8:43 am, Hans M. [email protected]
wrote:
I would like to inform the users about attribute validation conditions
for form fields using title as in .
…
Try using the validation_reflection plugin.
http://www.schuerig.de/michael/rails/validation_reflection/
Dan M.
http://www.dcmanges.com
Dan M. wrote:
On Jul 22, 8:43 am, Hans M. [email protected]
wrote:I would like to inform the users about attribute validation conditions
for form fields using title as in .
…Try using the validation_reflection plugin.
http://www.schuerig.de/michael/rails/validation_reflection/Dan M.
http://www.dcmanges.com
Thanks
Thats will solve my problem, I think.
I will test it soon
what about… <%= error_message_on (“model name here”,“title”) %>
On Jul 22, 1:43 pm, Hans M. [email protected]