Home » HTML » HTML_QuickForm » Bug #3414
Form tag still not XHTML compliant
Details
| Submitted | 2005-02-09 13:07 UTC |
|---|---|
| From | snowkrash at xs4all dot nl |
| Status | Bogus |
| Package | HTML_QuickForm |
| PHP Version | 5.0.0 |
| OS | Any |
| Roadmaps | (Not assigned) |
Comments
[2005-02-09 13:07 UTC] snowkrash at xs4all dot nl
Description:
------------
PEAR version 1.3.4
HTML_Common version 1.2.1
HTML_Quickform version 3.2.4pl1
The generated form code isn't completely XHTML strict compliant: The <form> tag isn't allowed to have a 'name' identifier, only 'id' is allowed.
Unlike what was said in Bug #2829 by avb ... it still isn't solved.
Reproduce code:
---------------
$oQForm =& new HTML_Quickform('frmLogin'
,'post'
,$_SERVER['PHP_SELF']
,null
,null
,null);
Expected result:
----------------
<form action="/site/page.php" method="post" id="frmLogin">
I remove the name by eregi_replace on the generated code.
Actual result:
--------------
<form action="/site/page.php" method="post" name="frmLogin" id="frmLogin">