How to set form name and id using cakephp FormHelper class?

Posted by chiggsy on Stack Overflow See other posts from Stack Overflow or by chiggsy
Published on 2010-05-10T01:54:18Z Indexed on 2010/05/10 1:58 UTC
Read the original article Hit count: 294

Filed under:

I'm trying to create a form using Cakephp's FormHelper class. The form needs to have a name and and an id. I fail to see an option for that however.

Looking at the documentation for the Formhelper, I see a lot of things, but not a way to set name and option. It's not in the source for the Formhelper either. How are these values set?

Cakephp v1.2 is the version of cake i'm running here

EDIT: the form is being submitted to an external destination. It is not a form associated with any model in the app.

© Stack Overflow or respective owner

Related posts about cakephp