I'm working with this event dispatch:
dispatchEvent('nextbits_form_save_after',array('form_data'=>$params, 'form_model'=>$formModel)); but I don't have any documentation on it.
The event fires after a contact form is submitted, and I need to do some routing to deliver the posted data to specific email addresses based on some of the choices on the form, etc. How can I get a listing or enumeration of the data that is passed with the event?
I was thinking something along the lines of:
$request = $observer->getEvent()->getData(‘form_data’);
foreach ($request as $k => $v) $output .= "Key: '".$k."' | Value: ".$v."<br>";
...but I get no response from that....