Method:
selectFBoxValueMultiple()
Class:
FORM
Method Call:
include_once("core/html/FORM.php");
STRING FORM::selectFBoxValueMultiple(STRING: $label, STRING: $name, ASSOC_ARRAY: $options, [INT: $size, INT: $override]);
Unlike selectFBox(), this method sets the value parameter of the option tag to the key of the associative array $options.
Usage:If $options is:
array( "en" => "English", "de" => "Deutsch", "ts" => "Tsetswana", );then
$pString = FORM::selectFBoxValueMultiple(FALSE, "language", $options);would return the string:
<select name="language" size="3"> <option value="en" selected>English</option> <option value="de">Deutsch</option> <option value="ts">Tsetswana</option> </select>