Page 1 of 1

Using server side Form_CustomValidate event

Posted: Thu Aug 22, 2024 4:02 pm
by actarus99

Hi, my code stopped working and I can't see any error message anymore...

function Form_CustomValidate(&$customError)
{
if (($tetto - $limite) < '0') {

        $this->setFailureMessage("warning");
		return false;
}

    return true;
}

Re: Using server side Form_CustomValidate event

Posted: Thu Aug 22, 2024 5:20 pm
by arbei

If you use v2024, you better refer to the example in docs.


Re: Using server side Form_CustomValidate event

Posted: Thu Aug 22, 2024 5:56 pm
by actarus99

Thank You !!!
It Works