$statusId = ""; if (is_array($eventAttributes) && isset($eventAttributes["status_id"])) { $statusId = $eventAttributes["status_id"]; } echo MM_HtmlUtils::generateSelectionsList(MM_Status::getStatusTypesList(), $statusId); ?> </select> </p> </div> <p><span class="mm-section-header">Perform the following action...</span></p> <p style="margin-left:20px;"> <select id="mm-action-type" onchange="mmjs.actionChangeHandler();"> <?php echo MM_HtmlUtils::getActionsList($action->getActionType()); ?> </select> </p> <div id="mm-action-call-script" style="display:none; margin-left:20px;"> <p style="font-size:11px;"> Enter the URL of your custom script below: </p> <input type='text' id='mm-script-url' value='<?php echo $actionValue["scriptUrl"]; ?> ' style="width:400px; font-family:courier !important; font-size:11px;" /> <p style="font-size:11px;"> When the event selected above occurs, MemberMouse will call the script passing an event type and any relevant data. Download the sample scripts below to see how to respond to different events and access the data passed.