Having finally got multi-selects working (hurrah), its not clear
to me how to make multiple default selections. at
present, for a single-select, I have (eg)
sub load_prerequisites {
my($ctxt,$value)=@_;
return $value || $prerequisite,""=>"", map { $_->[0] =>$_->[0]}
codes();
}
where codes() generates a list of codes from my database, and
$prerequisite is the default selected value. Now, suppose
this is a multiple select, and I have @prerequisite, containing
a list of default-selected values. What would
the corresponding load_ look like?
--
Sebastian Rahtz OUCS Information Manager
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]