0

I have a couple of 'ban keywords' set to try and minimise spam in a FreeForm Pro form. The form is inline validated and submitted via ajax/jquery. In the js code, I'm checking for data.seccess = true. However, even if I put some banned keywords in the form, I still get success=true and the form submits.. What can I do to make the form not submit when banned keywords are used?

1 Answer 1

0

I have had contact with Solspace about this and after testing the form without AJAX the page through an error complaining about the an invalid regex match. In my banned keyword list there was an html "a" closing tag that was causing the error. So, you can only use normal words in the ban keyword field; no special characters.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.