Thanks, that worked.

What's the difference between hidden_field and hidden_field_tag?

On Thu, Sep 18, 2008 at 10:18 PM, Ar Chron <[EMAIL PROTECTED]
> wrote:

>
> You can store the form_id in a hidden field (hidden_field_tag).
>
> That value will come back in the params hash, to be retrieved and
> re-used in your else case when validation fails in the create method for
> element.
> --
> 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to