FormBuilder custom select
| From: | Alessandro Pasotti | Date: | Fri, 16 Sep 2005 17:23:58 +0000 |
| Subject: | FormBuilder custom select | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-21009@lists.php.net to get a copy of this message | ||
Hello,
Only for fields that are linked to another table, I would like to build a
select with a <button> that opens a popup to insert a new record and the
repopulate the <options> in the opener window, js is not the problem here, I
just don't know how to start, should I subclass HTML_QuickForm_select to add
the button after the select? Or maybe this can be done manipulating
FormBuilder's options?
Any hint? (linkNewValue=true works but is too slow for my huge DB)
Sould be like this:
-------------------------------------------
Client: [Choose one...V] or [New value]*
[Client 1 ]
[Client 2 ]
-------------------------------------------
* This opens the popup
--
Alessandro Pasotti
ICQ# 245871392
Linux User #167502