It might not work though - in which case that's probably a bug.
(wishing I had a test environment for PerForm now!)
On Friday, Dec 20, 2002, at 11:38 Europe/London, Sebastian Rahtz wrote:
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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
