this is a function to create selecy field in html form:
Code: Select all
function addSelect($name, $label, $default, &$options) {
$this->_elements[$name] = array('type' => 'select', 'label' => $label, 'value' => $default,
'options' => $options);
}Code: Select all
$form->addSelect('accounttype', Your Account Type, '', &$options);thanks