hominid4
Member
Sorry, this may be posted somewhere and I'm not seeing it, and I may should be posting in the Joomla forum, but does does setMessage work in Joomla4/Fabrik4? I have a fresh Joomla4/Fabrik4 install and when I add setMessage to an element's PHP Validation within the 'PHP code' box I get the error:
Call to undefined method FabrikEvalClass_1baf7b4cb62ba87a939bf89186be194e::setMessage()
Such as just when doing the simple code below:
I've tried all different ways and research but not having luck, and before I spent further time on it just wanted to make sure. I'm able to do enqueueMessage() just fine, but needing to change the element's direct error message to different error messages based on my PHP query code.
Thanks!
J! 4.3.3
Fabrik 4 Delta (2023-06-01)
Call to undefined method FabrikEvalClass_1baf7b4cb62ba87a939bf89186be194e::setMessage()
Such as just when doing the simple code below:
PHP:
$this->setMessage('Element error message');
return false;
I've tried all different ways and research but not having luck, and before I spent further time on it just wanted to make sure. I'm able to do enqueueMessage() just fine, but needing to change the element's direct error message to different error messages based on my PHP query code.
Thanks!
J! 4.3.3
Fabrik 4 Delta (2023-06-01)
Last edited: