I'm trying to get familiar with quickform in the Pear HTML module. I have a form with a select box created like this:
$form->addElement('select', 'nickname', 'Is this a nickname?',
array(1 => 'Yes', 0 => 'No') );


Now, how do I tell the select box to use the default value of 'No'?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to