Buy Now
Sign in

Custom field PHP validation

sactobob , December 17 2019, 00:32
S
sactobob 80
December 17 2019, 00:32 #390384
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 8
December 17 2019, 04:30 #390386
Use $this->data('fieldnamegoeshere') instead of $form['fieldname']
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
S
sactobob 80
December 17 2019, 04:59 #390387
Right, but what's the plugin/action item used to execute php and return true/false?
healyhatman 8
December 17 2019, 05:21 #390388
There's a PHP block under Logic
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store