Adding an id to form_tag

Hi all,

When using form_for it is easy to add an id to the form using :html => {:id => 'someid'}

However, how would one accomplish the same when using the form_tag ?

Thank you in advance, Schalk

Hi all,

When using form_for it is easy to add an id to the form using :html
=> {:id => 'someid'}

However, how would one accomplish the same when using the form_tag ?

pretty much the same form_tag({ url options ... }, {:id => 'someid'})

Fred

Thanks Frederick.

Frederick Cheung wrote: