Php validation error

mirceat

Member
Hello,

I get this error message using a php validation for an element (field element in this case):

Call to undefined method FabrikEvalClass_a56ec68dc9affde62f3d793322a11a0b::setMessage()

This is the code for validation, works fine in J3:
Code:
if ((int)'{contracts_tool___buget_facturi_raw}' == 0) {
$this->setMessage('Bugetul de facturi nu poate fi 0 sau necompletat');
return false;
} else {
return true;
}

What is the new syntax for $this->setMessage?

Thank you
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top