Does anyone use Phorm ? I can't get SELECT MULTIPLE to Work
Posted: Fri Mar 12, 2004 1:25 pm
The documentation says to use the function ArrayToList and call it from your configuration file.
I can not get the following SELECT drop down to return anything but Array when the user selects multiple options and it sends out the email...
Any ideas?
?>
I can not get the following SELECT drop down to return anything but Array when the user selects multiple options and it sends out the email...
Code: Select all
<select name="WebinarDateї]" class="multiselect" MULTIPLE size="3">
<?php
$arr_events = getEvents( 100, "webinar", "eventDateStart desc, title desc", "usta_web" );
for( $i=0; $i < count($arr_events); $i++ ) {
$page = getPageContent( "", $arr_eventsї$i], 0 );
$eventDateStart = $pageї"eventdatestart"];
$pagename = $pageї"pagename"];
$currentDate = "$year/0$mon/$mday";
$title = $pageї"title"];
if ($currentDate <= $eventDateStart) {
echo "<option value="$pagename">$eventDateStart -- $title</option>";
} else {}
}
?>
</select>?>