I am using observe_field and RJS in my Rails app. The form loads with
no errors initially. However, when the user makes an error submitting
the form, the usual Rails error handling mechanism kicks in
highlighting the fields of the form with errors. The highlighting
draws a bright red color border around each field with error. To do
so, it wraps a div around the field in question. a textarea field in
my case. Somehow this breaks prototype Form object generating a "Form
is not defined" error, is this due to the div? If so, is there a
workaround that does not require me to remove the div?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to