2008年12月17日星期三

Re: [fw-mvc] Zend Form: I can't seem to set the name attribute!

Yeah, I read through that too after I posted. Thank you for posting here as
well, so it may help others too.

As for Matthew's response that 'setName()' will work to set the name of the
form, I have yet to get that to work as well. I tried setting it when I
instantiate the form as well as in the construct and neither method works.

Thank you.

Hector Virgen wrote:
>
> The "name" attribute is allowed in HTML4 but has been deprecated in
> XHTML1.0.
>
>> "Note that in XHTML 1.0, the name attribute of [a, applet, form, frame,
>> iframe, img, and map] is formally deprecated, and will be removed in a
>> subsequent version of XHTML."
>>
>
> http://www.w3.org/TR/xhtml1/#h-4.10
>
> -Hector
>
>

--
View this message in context: http://www.nabble.com/Zend-Form%3A-I-can%27t-seem-to-set-the-name-attribute%21-tp20774499p21054424.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: