Email field validation during data entry!

Estimada comunidad

Quisiera saber si existe la posibilidad de generar una alerta o restricción si en el campo de correo electronico lo que se esta ingresando no es un formato de correo que como mínimo tenga el @ y dantos antes y después del mismo.

Agradezco su colaboración.

Maybe you could do it as outlined in the image below:

In the survey tab of your xlsform:

Data entry screen as seen in Enketo: when a wrong entry is made

Image 1

Data entry screen as seen in Enketo: when a correct entry is made

Image 2

Reference xlsform:

Email Regex.xlsx (8.7 KB)

To understand more on Regex, you could have a look at our support article Restricting Text Responses With Regular Expressions which has plenty of examples that could be helpful for your day to day work.

@Kal_Lam, me has salvado la vida, funciona a la perfección le hice unas adecuaciones personales a lo que me enviaste y funciona muy bien, mil gracias por todos los esfuerzos y buen trabajo que realizas.

1 Like

Glad to know it was helpful!