TEMA:

Spamschutz via PHP: Ungültige Adresse (addAnAddress to): 1 año 9 meses antes #260881

  • Avatar de Mirec
  • Mirec
  • Fuera de línea
  • Navegador Platino
  • Navegador Platino
  • Registered
  • Mensajes: 3262
  • Gracias recibidas: 163
Hi,

My question is: Do you only have to enter the frame code or do you have to enter something else elsewhere?


If you want to make some things as we did yesterday, if you use another element in a form, you need to insert the same code with little changes.

The changes are:
function ff_EMail_validation(element, message)
{
 var badwords = /\b(eric.jones.z.mail@gmail.com|othermail|otheremail)\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_EMail_validation


In this part of code :
function ff_EMail_validation(element, message)

instead, 'EMail' insert the name of an element, (not a title) for which you do validation.

If you want send me the Admin link with data on email ma@evolutio.hr and I'll solve that.

Regards,
Mirko

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Última Edición: Post by Mirec.

Spamschutz via PHP: Ungültige Adresse (addAnAddress to): 1 año 9 meses antes #260900

  • JMLA_Userin
  • Fuera de línea
  • Navegador Junior
  • Navegador Junior
  • Registered
  • Mensajes: 31
  • Gracias recibidas: 0
Hello Mirko, thanks to your tip I have now found the solution. I have to exchange the "Name" in the Element email address in the code.
Thank you now it works.

Hallo Mirko, jetzt habe ich die Lösung dank deines Hinweises gefunden. Ich muss den "Name" im Element E-Mail-Adresse im Code austauschen.
Vielen Dank nun funktioniert es.
Ich sag schon mal vielen Dank und viele Grüße

I already say thank you very much and best regards

Hanne
Adjuntos:

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Última Edición: Post by JMLA_Userin.

Spamschutz via PHP: Ungültige Adresse (addAnAddress to): 1 año 9 meses antes #260902

  • Avatar de Mirec
  • Mirec
  • Fuera de línea
  • Navegador Platino
  • Navegador Platino
  • Registered
  • Mensajes: 3262
  • Gracias recibidas: 163
Hi,

you're welcome!
If you need more help, feel free to ask! :)

Regards,
Mirko

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Spamschutz via PHP: Ungültige Adresse (addAnAddress to): 1 año 1 día antes #272056

  • pediaf
  • Fuera de línea
  • Navegador Iniciado
  • Navegador Iniciado
  • Registered
  • Mensajes: 11
  • Gracias recibidas: 0
Hello, can you tell me which parts of the code I should replace with the name of my element? they would be all the ones that say element.name or also those that say element.value. My field is called Correo in Spanish.

function ff_EMail_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_EMail_validation

I understand that this should be put in:
Email Element > Validation > Custom

Attached photo of how I have my element.

I'm waiting for your answer, tks.
Adjuntos:

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Última Edición: Post by pediaf.

Spamschutz via PHP: Ungültige Adresse (addAnAddress to): 1 año 22 horas antes #272058

  • Avatar de tihana.krivic
  • tihana.krivic
  • Fuera de línea
  • Moderador
  • Moderador
  • Registered
  • Mensajes: 12079
  • Gracias recibidas: 780
Hi,

name of your element is correo then the code should looks like:
function ff_correo_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_correo_validation
and that's it

If you need more help let us know

Regards,
Tihana

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Spamschutz via PHP: Ungültige Adresse (addAnAddress to): 10 meses 2 semanas antes #273962

  • pediaf
  • Fuera de línea
  • Navegador Iniciado
  • Navegador Iniciado
  • Registered
  • Mensajes: 11
  • Gracias recibidas: 0
I have implemented this function and emails keep coming from eric.jones.z.mail@gmail.com, is there any other way to fix it?

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Moderadores: ForumSupport
Tiempo de carga de la página: 0.067 segundos

Live Support Chat Opened!

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