Never mind, user-operator error. I was overzealous in minimizing page
download size using prototype.js and didn''t include it in the page
that processes error, DODH!
On Jul 10, 2:55 pm, bngu <bob_...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
wrote:> 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
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---