The documentation offers this code snippet for adding to custom forms, to screen unwanted words. How exactly should this be added? I am hoping to be able to use this to reduce the frequency of spam contact messages.
****
// Action Text
$_tmp = array(
'name' => 'action_text',
'label' => "Activity",
'help' => "Update your activity post",
'type' => 'textarea',
'ban_check' => 'word',
'validate' => 'printable',
'required' => true
);
jrCore_form_field_create($_tmp);
--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)
updated by @researchcooperative: 06/25/17 10:52:33AM