Default form name in form_for

Does anyone know the default name given to a form created with
form_for ? Thanks, JB

On Sat, May 30, 2009 at 9:59 AM, JannaB [email protected]
wrote:

Does anyone know the default name given to a form created with
form_for ? Thanks, JB

There isn’t a default name attribute generated when you use form_for
helper.

-Conrad

SO…how do you get teh form name for certain Dom / javascript
functionality?

JannaB wrote:

SO…how do you get teh form name for certain Dom / javascript
functionality?

Give the form a name yourself:

form_for […], :html => { name=“adsf”, id=“hjkl” }

See the Rails API.