Can anyone tell me how to prevent contact forms from being submitted if the message field contains spam or unwanted junk content?
I have a simple contact us form with a message set as a paragraph field. The only validation option I can see is that it cannot be blank. I cannot see any other options to add any content filtering to prevent site visitors from entering junk or unwanted text into this field.
I have tried using the suggested way of using the wordpress built in Disallowed Comment Keys in Settings > Discussion but this did not work.
I have also tried adding custom code snippets such as one from the formidable forms developer knowledge base like this:
add_filter('frm_validate_field_entry', 'my_custom_validation', 10, 3);
and:
add_filter( 'frm_filename_spam_keywords', 'my_custom_function' );
but these do not work either.
Any ideas would be very much appreciated.
Hi Charles,
Looking for an answer to this also - https://formidableforms.com/knowledgebase/add-spam-protection/#kb-comment-blacklist should be removed if no longer true?
Please login or Register to submit your answer