I’m trying to observer a field (or form as in my example) and keep
getting a ‘Form is not defined’ error. Near as I can tell everything is
in place
In the layout file, I’ve got the default javascript files as one post
mentioned they forgot
and in the demo.rhtml file
Mon | <%= text_field("noteExpanded", "monday",:value => "") %> |
Tue | <%= text_field("noteExpanded", "tuesday", :value => "") %> |
Wed | <%= text_field("noteExpanded", "wednesday", :value => "") %> |
Thu | <%= text_field("noteExpanded", "thursday", :value => "") %> |
Fri | <%= text_field("noteExpanded", "friday", :value => "") %> |
<%= observe_form “daily_notes”, :frequency => 2.0,
:url => {:controller => ‘assignments’, :action => ‘saveNotes’},
:update => “”
%>