Quickform hierselect and key/value pairs

From: Date: Tue, 27 Apr 2004 17:13:15 +0000
Subject: Quickform hierselect and key/value pairs
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12173@lists.php.net to get a copy of this message
Is there any way to set what the "value=" field will be for each item when creating a hierselect? I've tried passing an array of key, value to setMainOptions() but this doesn't seem to work. The default numbering doesn't help much in my application as there's no way to look up a component from its position in a <select..> field. Thanks, David

« previous php.pear.general (#12173) next »