Quickform select element...

From: Date: Wed, 17 Dec 2003 22:44:46 +0000
Subject: Quickform select element...
Groups: php.general 
Request: Send a blank email to php-general+get-172909@lists.php.net to get a copy of this message
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'?

« previous php.general (#172909) next »