Allow generation of list markup in addition to existing <br /> and &nbsp;Description:
------------
It would be nice if the package could wrap the options in ordered and unordered lists, in addition to the existing solution of <br /> and &nbsp; delimiters.
Definition lists should also be allowed, since there are cases where their use would be semantically correct.
<dl>
<dt>Favorite foods</dt>
<dd><input type="checkbox" /><label>Val 1</label></dd>
<dd><input type="checkbox" /><label>Val 2</label></dd>
</dl>
I suppose this is a bit difficult though, considering the element label is rendered at another level, and this element would have to override that somehow. May not be possible in the end, but wanted to mention it in case you knew any tricks. :)denny
dennyhttp://pear.php.net/bugs/12941
HTML_QuickForm_altselect Feature/Change Request
Reported by denny
2008-01-21T02:36:51+00:00
PHP: Irrelevant OS: N/A Package Version: 1.0.0
Description:
------------
It would be nice if the package could wrap the options in ordered and unordered lists, in addition to the existing solution of <br /> and &nbsp; delimiters.
Definition lists should also be allowed, since there are cases where their use would be semantically correct.
<dl>
<dt>Favorite foods</dt>
<dd><input type="checkbox" /><label>Val 1</label></dd>
<dd><input type="checkbox" /><label>Val 2</label></dd>
</dl>
I suppose this is a bit difficult though, considering the element label is rendered at another level, and this element would have to override that somehow. May not be possible in the end, but wanted to mention it in case you knew any tricks. :)]]>HTML_QuickForm_altselect Feature/Change Request
Reported by denny
2008-01-21T02:36:51+00:00
PHP: Irrelevant OS: N/A Package Version: 1.0.0
Description:
------------
It would be nice if the package could wrap the options in ordered and unordered lists, in addition to the existing solution of <br /> and &nbsp; delimiters.
Definition lists should also be allowed, since there are cases where their use would be semantically correct.
<dl>
<dt>Favorite foods</dt>
<dd><input type="checkbox" /><label>Val 1</label></dd>
<dd><input type="checkbox" /><label>Val 2</label></dd>
</dl>
I suppose this is a bit difficult though, considering the element label is rendered at another level, and this element would have to override that somehow. May not be possible in the end, but wanted to mention it in case you knew any tricks. :)]]>2008-01-21T02:36:51+00:00
shangxiao [2008-08-18 05:43] http://pear.php.net/bugs/12941#1219038196
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pear.php.net/get/HTML_QuickForm_altselect]]>Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pear.php.net/get/HTML_QuickForm_altselect]]>2008-08-18T05:43:16+00:00
shangxiao [2008-08-11 04:21] http://pear.php.net/bugs/12941#1218428515
I've added support for unordered & ordered lists with classes and ids, although I haven't added support for definition lists.
Can you verify the version in CVS is satisfactory for your requirements?]]>I've added support for unordered & ordered lists with classes and ids, although I haven't added support for definition lists.
Can you verify the version in CVS is satisfactory for your requirements?]]>2008-08-11T04:21:55+00:00
shangxiao [2008-02-08 04:09] http://pear.php.net/bugs/12941#1202443747
Sounds like a good idea, although I wish I had've thought of this before I
release the first version ;)
The ol's and ul's should be easy. The dl's might be a bit harder -
although each element has access to it's label, it should be up to the
layout renderer to deal with rendering this... Perhaps I might just give
and option to render with just dd tags.]]>Sounds like a good idea, although I wish I had've thought of this before I
release the first version ;)
The ol's and ul's should be easy. The dl's might be a bit harder -
although each element has access to it's label, it should be up to the
layout renderer to deal with rendering this... Perhaps I might just give
and option to render with just dd tags.]]>2008-02-08T04:09:07+00:00