Skip Navigation

[Resuelto] Email Validation

This support ticket is created hace 2 años, 6 meses. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por julieP hace 2 años, 6 meses.

Autor
Mensajes
#2362479

I have a custom field type Email Address set to required. The form will submit even if the field doesn't contain an email address. If I do a check using cred's form validation hook and the wordpress function is_email, the form behaves correctly and doesn't submit if the field doesn't contain an email address.

Can you test your end please?

#2362649

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Screenshot 2022-05-13 at 14.52.11.png
Screenshot 2022-05-13 at 14.48.43.png

Hi Julie

I just tested this and it worked as expected.

We are talking about Post forms rather than User forms?

Did you specify in the email field settings that the field is both required and should be a valid email address? (I'm not sure the latter is necessary, but it is what I have on my test site.)

#2362713

Hi Nigel

Thanks for testing. I haven't changed anything regarding the field settings (they've always been "required" and set to validate as an email) however on checking them, the "validate as email" box is currently unchecked which explains why it's not validating (!) but not how it became unchecked. I'll monitor in case it happens again.

Hope all's well with you (it's been a while)