Re: form __init__ does not have name attribute

mario ruggier <[email protected]> Wed, 14 Mar 2007 08:57:20 +0100
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
On Mar 14, 2007, at 12:15 AM, Ian Esper wrote:
> Hi,
>
> in the form.py there is no name (attribute) in class form, so when 
> we're trying a javascript in the form it doesn't work, is it a bug or 
> was for some reason that I don't know?

XHTML does not specify a name attribute on form.
Older HTML specs did though...
You can look thru the various specs here: http://www.w3.org/TR/
I guess it should depend on the doctype you declare.

mario


> Thanks
>
> Ian Esper