Home » HTML » HTML_QuickForm » Bug #5093
XHTML Compliance
Details
| Request #5093 | XHTML Compliance |
|---|---|
| Submitted | 2005-08-14 21:40 UTC |
| From | robert dot munteanu at betbrain dot com |
| Status | Bogus |
| Package | HTML_QuickForm |
| PHP Version | Irrelevant |
| OS | Linux 2.6 |
| Roadmaps | (Not assigned) |
Comments
[2005-08-14 21:40 UTC] robert dot munteanu at betbrain dot com
Description:
------------
DB_DataObject_FormBuilder does *not* generate XHTML 1.0 compliant markup. On a simple form , two easy-to-make changes stand out:
1. the textarea element does not have the rows and cols attributes set, like required:
<!ATTLIST textarea
%attrs;
%focus;
name CDATA #IMPLIED
rows %Number; #REQUIRED
cols %Number; #REQUIRED
disabled (disabled) #IMPLIED
readonly (readonly) #IMPLIED
onselect %Script; #IMPLIED
onchange %Script; #IMPLIED
>
2. The form has the method attribute value of "POST", but the only ones allowed are post and get:
<!ATTLIST form
%attrs;
action %URI; #REQUIRED
method (get|post) "get"
name NMTOKEN #IMPLIED
enctype %ContentType; "application/x-www-form-urlencoded"
onsubmit %Script; #IMPLIED
onreset %Script; #IMPLIED
accept %ContentTypes; #IMPLIED
accept-charset %Charsets; #IMPLIED
target %FrameTarget; #IMPLIED
>