Displaying 5 results from an estimated 5 matches for "validation_reflection".
2007 Jul 22
3
Retrieving validation messages without making errors
I would like to inform the users about attribute validation conditions
for form fields using title as in <span title= "cannot be blank" >.
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
2006 Jul 28
4
Validation Reflection plugin
...ation information into the class attributes of
of HTML elements generated from rhtml templates.
See test/instance_tag_validations_test.rb for what this looks like.
Yes, for validates_format_of it gets nasty.
Installation:
$ script/plugin install \
http://www.schuerig.de/michael/rails/validation_reflection
Michael
--
Michael Schuerig
mailto:michael@schuerig.de
http://www.schuerig.de/michael/
2006 Aug 14
2
Plugins: Validation Reflection and Client-Side Validation
I''ve just put two plugins on RubyForge. Included below are the READMEs.
You can get the plugins at
svn://rubyforge.org//var/svn/valirefl/validation_reflection/trunk
svn://rubyforge.org//var/svn/clientsidevali/client_side_validation/trunk
Michael
Validation Reflection
=====================
Version 0.2, 2006-08-06
This plugin adds reflective access to validations
- ModelClass.reflect_on_all_validations
- ModelClass.reflect_on_validations_for(:prope...
2010 Feb 10
6
validation problems
...got a very simple
custom validation. Whenever there is an error, it catches it and shows
the error message. But the field with error is not highlighted. I
checked the source of the page, the "fieldwitherror" was not generated
on the field checked by the custom validation. I tried the
validation_reflection plugin. It catched the error but there''s no error
message under the field. Normally that''s where the message should be.
I guess they are related but I am not sure what causes it.
Any help will be appreciated.
--
Posted via http://www.ruby-forum.com/.
--
You received this mes...
2006 Nov 07
2
Plugin to add client side JS forms validation ?
Hi,
is there a plug in or other things to easily add some client
verification for HTML forms ?
Thank you very much.
Nicolas.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to