form validation before submit

nycreate

Member
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)

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;
}
According to Dreamweaver theres a syntax error im to thick to work it out.

can you point me in the right direction please?

Regards
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top