Hi Hugh, you wrote this for me ages ago but we never got it working....
its to check the list onBeforeProcess (php form plugin before any data is saved)
According to Dreamweaver theres a syntax error im to thick to work it out.
can you point me in the right direction please?
Regards
its to check the list onBeforeProcess (php form plugin before any data is saved)
Code:
if ((!empty('{table___email_raw}') && !empty('{table___postcode_raw}')) && '{table___order_stat_raw}' != 'order_paid')
{
$app =& JFactory::getApplication(); $app->enqeueueMessage('failure message here'); return false;
}
can you point me in the right direction please?
Regards