Re: QFC: hierselect default values ?

From: Date: Mon, 08 Mar 2004 20:20:59 +0000
Subject: Re: QFC: hierselect default values ?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11161@lists.php.net to get a copy of this message
Hi! Ignatius Reilly wrote:
I fail to apply default values to a hierselect element in a QFC (no problem with other types of elements, though) A simple test case based on a doc example:
Thanks for not showin' a *complex* one. ... lots of stuff skipped ...
$controller->setDefaults( array( "location[0]" => 1, "location[1]" => 2, ) ) ;
Er, have you tried $controller->setDefaults(array( 'location' => array(1, 2) ));

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