Proposal for "HTML_QuickForm_ComboBox"

» Metadata » Status
» Description
A custom HTML_QuickForm element that implements a "combobox".

A combobox is a GUI component "composed" by a input text field and a dropdown list. You can enter a value typing into the text field or selecting an alement from the list, such as a select (in HTML terms).

Example of use:
<?php
$form = new HTML_QuickForm('form');
$form->addElement('combobox', 'combo1', 'A combo:', array('first', 'second', 'third'));
?>
» Dependencies » Links
  • HTML_QuickForm
» Timeline » Changelog
  • First Draft: 2006-05-08
  • Proposal: 2006-05-11
  • Call for Votes: 2006-06-12
  • Fabio Ambrosanio
    [2006-05-16 15:53 UTC]

    Added focus/blur management: now if you move focus outside combobox the dropdown list disappear.

    Minor fix in options building.