Hi Jeff,

quoting Matthew Weier O'Phinney:

> The "name" attribute is deprecated in HTML 4.01, and invalid with XHTML
> 1.0. You can use the id attribute to reference forms from javascript.

He posted this just a month ago. Pro tip: You can search the ZF
mailing list archives via Nabble at
http://www.nabble.com/Zend-Framework-Community-f16154.html.

Best regards,
Tobias

2009/1/13 jlevy <[email protected]>:
>
> form setup in my controller can't be any simpler:
>
> $form = new Zend_Form();
>
> $form->setName('oscarMayer');
>
> // set action, method, etc etc etc etc
>
> and in my view:
>
> <?= $this->form ?>
>
> I should have:
> <form name="oscarMayer" id="oscarMayer" action="..." method="..." enc ....
> blah.
>
> But I don't. There's no name attribute. It's missing. What gives?
>
> ZF1.7.2
> --
> View this message in context: 
> http://www.nabble.com/Maybe-I%27m-Missing-Something----Or-is-Zend_Form--tp21443838p21443838.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to