TOPIC:

Spamschutz via PHP: Ungültige Adresse (addAnAddress to): 1 year 1 month ago #260828

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10737
  • Karma: 3
  • Thanks: 718
Hi,

do you have a email element in your form?

Please go to your form->Advanced->More options->Submit pieces->Begin Submit->check Custom and put:
$this->execPieceByName('ff_InitLib');
$value1 = ff_getSubmit('nameofelement');

if( preg_match("/(eric.jones.z.mail@gmail.com)/",$value1)){
echo 'Wrong';
exit();
}
Please replace nameofelement with name for email element (not title)

Regards,
Tihana

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

Spamschutz via PHP: Ungültige Adresse (addAnAddress to): 1 year 1 month ago #260829

  • Mirec's Avatar
  • Mirec
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 2952
  • Karma: 2
  • Thanks: 150
Hi,

could you please send me login information, backend link, on email ma@evolutio.hr

I'll connect to your server and solve your problem.

Regards,
Mirko

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

Spamschutz via PHP: Ungültige Adresse (addAnAddress to): 1 year 1 month ago #260830

  • JMLA_Userin
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 31
  • Thanks: 0
Hallo Eddy, habe es schon installiert. Nur wie gesagt mit den Einstellungen bin ich mir nicht sicher. Wäre super wenn ich ein paar Infos von dir bekomme. Dankeschön.
Ich sag schon mal vielen Dank und viele Grüße

I already say thank you very much and best regards

Hanne

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

Spamschutz via PHP: Ungültige Adresse (addAnAddress to): 1 year 1 month ago #260834

  • JMLA_Userin
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 31
  • Thanks: 0
Hallo Eddy, so wie ich das lese ist das ein Spamschutz für Login und Registrierung.
Ich benötige was das übers Kontaktformular kommt. Ich lösche die Installation wieder.
Ich sag schon mal vielen Dank und viele Grüße

I already say thank you very much and best regards

Hanne

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

Spamschutz via PHP: Ungültige Adresse (addAnAddress to): 1 year 1 month ago #260836

  • JMLA_Userin
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 31
  • Thanks: 0
Hello Mirko,
here are my inputs. Are they correct?
Ich sag schon mal vielen Dank und viele Grüße

I already say thank you very much and best regards

Hanne
Attachments:

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

Spamschutz via PHP: Ungültige Adresse (addAnAddress to): 1 year 1 month ago #260838

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10737
  • Karma: 3
  • Thanks: 718
Hi,

you put this in wrong places, please use this code from message above:
crosstec.org/en/forums/3-breezingforms-f...html?start=42#260828

This Mirko's code should be in email field (I guess you have a textfield in your form which is for email (there users puts their email)), then go to this email field->Properties->Custom and put Mirko's code.
function ff_nameofelement_validation(element, message)
{
var badwords = /\b(eric.jones.z.mail@gmail.com)\b/ig; 
if (badwords.test(element.value)) {
if (message=='') message = element.name+" contains a spam word.\n";
ff_validationFocus(element.name);
return message;
} // if
return '';
} // ff_nameofelement_validation
-nameofelement is name of that email field (not title)

Regards,
Tihana

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

Last edit: Post by tihana.krivic.
Moderators: ForumSupport
Time to create page: 0.048 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

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

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

breezingforms.eddy-vh.com

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

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 sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!