Spamschutz via PHP: Ungültige Adresse (addAnAddress to): 2 weeks 4 days ago #258040

  • FiftyNineDesign's Avatar Topic Author
  • FiftyNineDesign
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 68
  • Thanks: 0
i will forgive you, if you will provide a working (tested before) solution for the Bad-words-filter =).

Common guys, please provide some kind of FAQ for this stuff, or integrate it directly into BF - you`re losing customers.

If you`re doing an interface redesign and provide some integrated working solution,
you`ll be back on the top with forms for Joomla. Have a look at BalboaForms for some inspiration.


Please Log in or Create an account to join the conversation.

Spamschutz via PHP: Ungültige Adresse (addAnAddress to): 2 weeks 4 days ago #258042

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 5415
  • Karma: 3
  • Thanks: 386

ok I will check this.

But for now you can use Validation like this in your element->Properties->Validation
function ff_badwords_validation(element, message)
var badwords = /\b(badword3|badwords2|badwords3|badwords4)\b/ig; 
if (badwords.test(element.value)) {
if (message=='') message =" contains a spam word.\n";
return message;
} // if
return '';
} // ff_badwords_validation

Please replace badwords with name of element for badwords (not title)

If you want to do this as server side validation, then go to your form->Advanced->More options->Submit pieces->Begin Submit->check Custom:
$value1 = ff_getSubmit('nameofelement');

if( preg_match("/(badword1|badword2|badword3)/",$value1)){
echo 'Wrong';
Please replace nameofelement with name for your element (not title)


Please Log in or Create an account to join the conversation.

Last edit: Post by tihana.krivic.
Moderators: ForumSupport
Time to create page: 0.046 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links










Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

Questions et réponses sur les forums de l'AFUJ


Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!