Dave Castellano wrote in post #1155335:
> Hi,
>
> I'm using a text_field_tag to provide a place for user input which does
> not need a model or table associated with it.  It is used for jQuery to
> compare a users input with another field value.
> If I place the text_field_tag within the form_for code for the page,
> upon data entry it looks for a route which I do not want or need and an
> error is generated.
>
Sorry,  looks like this is not a Rails problem at all.  The form is 
submitted when I press the enter key by default so I guess I have to 
disable it in jQuery!

> Thanks,
>
> Dave Castellano

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/fcce67fa7942b5c5271c1f6e6db8a8c5%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to