How about removing form tags - just have the field and the observe_field
.... this might not be valid html - not sure about that.

Ivor

On Mon, Dec 29, 2008 at 12:21 PM, sa 125
<rails-mailing-l...@andreas-s.net>wrote:

>
> Hi - I have the following problem: my app has a form that acts as a
> filter to a table on the page, so that the user can search any value in
> the table (via text box) or use select lists for more specific search.
> The form is being observed by an observe_form helper that runs every 1-2
> seconds or so. It's all still in testing.
>
> I noticed that when I hit return while in the textbox, the form posts
> and redirects me to an action unknown page. I want to remove that
> functionality so that hitting enter wont do anything -- any idea how to
> do it?
>
> Thanks
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to