# Field type Email

**URL:** <https://forum.getodk.org/t/field-type-email/39323>\
**Category:** Support\
**Tags:** odk-xlsform\
**Created:** [October 20, 2022, 1:47pm UTC](https://forum.getodk.org/t/field-type-email/39323 "2022-10-20T13:47:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![danbjoseph](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/danbjoseph/32/21901_2.png) [@danbjoseph](https://forum.getodk.org/u/danbjoseph)\
**Post date:** [October 20, 2022, 2:39pm UTC](https://forum.getodk.org/t/field-type-email/39323/2 "2022-10-20T14:39:36Z")

</div>

Validating that something is an email can be challenging! Check out this post for some details and a `constraint` that you can use on a `text` type question that works for most valid email addresses.  
From this post:

> [@Formatos para direcciones e-mail o direcciones de viviendas](https://forum.getodk.org/t/formatos-para-direcciones-e-mail-o-direcciones-de-viviendas/10335/3):
>
> My Spanish is not so bueno, but I agree with Jorge that you probably don't want to have strict constraints here. This is especially true with email addresses because the [email address specification](http://emailregex.com/email-validation-summary/) is maddening. For me, the best way to validate an email is to send an email to that address with a link inside and see if someone clicks that link. The next best way, especially if you are offline, is to make sure there is no obvious typo. So what I check is at least one non-whitespace character, fo…

---

_[View the full topic](https://forum.getodk.org/t/field-type-email/39323)._
