TOPIC:

Spamschutz via PHP: Ungültige Adresse (addAnAddress to): 2 years 2 months ago #260828

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Registered
  • Posts: 12079
  • Thanks: 788
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): 2 years 2 months ago #260829

  • Mirec's Avatar
  • Mirec
  • Offline
  • Platinum Member
  • Platinum Member
  • Registered
  • Posts: 3262
  • Thanks: 163
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): 2 years 2 months ago #260830

  • JMLA_Userin
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • 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): 2 years 2 months ago #260834

  • JMLA_Userin
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • 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): 2 years 2 months ago #260836

  • JMLA_Userin
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • 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): 2 years 2 months ago #260838

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Registered
  • Posts: 12079
  • Thanks: 788
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.062 seconds

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

Subscribe to news and updates!

Special Offer

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!

Live Support Chat Opened!

Join our Discord chat here and enter the Crosstec channels to receive live support and talk directly to the team!