I found out that ActionView::Base.field_error_proc can be modified to output whatever error format I want for webform elements. At the moment I have it sitting in application_helper.rb and it works just fine. However, I feel that it isn''t the proper place for it. Where do you normally store modified classes? Thanks. -- Posted via http://www.ruby-forum.com/.
Possibly Parallel Threads
- ActionView::Base.field_error_proc not getting an error field
- validation error messages in Form - how to disable the ActionView::Base.field_error_proc ?
- TIP: Using field_error_proc to add style attributes to form elements
- Per form field_error_proc
- ActionView::Template::Error (Cannot modify SafeBuffer in place):