Forums

Custom field PHP validation

sactobob 17 Dec, 2019
In Chronoforms 5 I have a PHP script I wrote to check for URLS and keywords in a message field as another attempt at filtering junk. Is there a equivalent to that in version 6? I've tried adding a few different actions, but none that I've tried looks like it takes PHP. Thanks.
healyhatman 17 Dec, 2019
Use $this->data('fieldnamegoeshere') instead of $form['fieldname']
sactobob 17 Dec, 2019
Right, but what's the plugin/action item used to execute php and return true/false?
healyhatman 17 Dec, 2019
There's a PHP block under Logic
This topic is locked and no more replies can be posted.