Forum: Ruby on Rails Validation highlighin errors?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
John D. (Guest)
on 2006-02-18 01:31
hi guys,

i am having two problems with validation,

one i cannot clear the errors in error_messages_for

i have tried errors.clear with no joy



the second problem is i cannot seem to highlight the offending fields
looking at the code returned to the client there is no div tag with the
fieldwitherrors or any reference for it.


hope you can help if you wanna see my code its posted here

 http://www.rorpaste.com/paste/details/39


thanks for the help

John
This topic is locked and can not be replied to.