PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB_DataObject_FormBuilder » Bug #4041

crossLinkExtraFields for multi-select forms

Details

Request #4041crossLinkExtraFields for multi-select forms
Submitted2005-04-03 18:13 UTC
Fromandrew dot clark at ucsb dot edu
StatusOpen
PackageDB_DataObject_FormBuilder
PHP Version4.3.10
OSFreeBSD 4.10
Roadmaps(Not assigned)

Comments

[2005-04-03 18:13 UTC] andrew dot clark at ucsb dot edu

Description:
------------
Currently crossLinkExtraFields only is applicable for checkbox style crossLinks. I'd like to see an implementation of crossLinkExtraFields for multi-select forms too. I can imagine at least one snag in this, perhaps you've got good solutions for it.

-checkboxes provide a way to distinctly select an extra-field(s) for a given cross-link. This might be harder with selects, as one element represents all the cross-links (e.g. try selecting two different cross-links on the same form with different extra-fields)

[2005-04-06 00:08 UTC] andrew dot clark at ucsb dot edu

Hmm. The more I think about this one, the less feasible it seems. I think it's probably hard to have the same functionality that checkboxes provide with multi-selects. Barring some magic that brought up the extra-field options upon selection of an multi-select option (that would be nice magic if you could select several things and change their extra-fields en-masse that way). How bad would some onClick kind of trigger that brought up the additional extra-field(s) options be?
Checkboxes with crossLinkExtraFields are pretty pokey (at least with ENUMs and 50 or so checkboxes on my system) as is, this could result in some major HTML bloat.