Re: QuickForm HTML quality
| From: | Bertrand Mansion | Date: | Sat, 08 Mar 2003 08:20:17 +0000 |
| Subject: | Re: QuickForm HTML quality | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4106@lists.php.net to get a copy of this message | ||
<john.f.kline@att.net> wrote :
> Does Quickform generate valid HTML (3.0/4.0)? I get complaints when
> validating my generated HTML:
> - can't wrap a form within a table.
You can change the template, use setFormTemplate(). But some browsers add a
spacer in front of a form when it is outside the table. We didn't want that
and every browsers know how to parse it, so it shouldn't be a problem.
> - hidden fields have an XML style formating (<input ..... />);
> and others
That's XHTML compliant.
From release 2.10, the only things I know QuickForm is not XHTML compliant
with, are the missing id tags in elements and the missing label tags for
checkboxes and radio. This will probably be added in the next QuickForm
release.
Bertrand Mansion
Mamasam