|
function BeforeAdd(&$values)
{
// Parameters:
// $values -
Array object.
// Each field on
the Add form is represented as a 'Field name'-'Field value' pair
//**********
Redirect to another page ************
header("Location:
anypage.php");
exit();
return true;
// return true if
you would like to proceed with adding the new record;
// return false otherwise
} |