Form_CustomValidate

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
jacksonsboat
User
Posts: 5

Form_CustomValidate

Post by jacksonsboat »

I'm sorry is I'm missing something obvious here but I'm trying to get the server event Form_CustomValidate to work on and add and an edit page.

I'm now down to:

// Form Custom Validate event
function Form_CustomValidate(&$CustomError) {

$CustomError =   "rubbish";    
return FALSE; 

}

The code is being generated but does ever seem to get fired. I'm expecting it to return the error message and not let the record be updated or added. Can anyone see what I'm missing?


jacksonsboat
User
Posts: 5

Post by jacksonsboat »

Just found the option :

"PHP" -> "General Options" -> "Validation"

which I've set and solved the problem!


Post Reply