I have a section in a survey where I want the user to enter their email. I have it set up as a text type now. When I change the type to email, the question disappears from the survey. I am assuming I need to do some more configuration for the question to display when using email as the question type?
using text as type:
using email as type:
Solved! Go to Solution.
The email question type in XLSForm is actually not what you thought: The email question is special type of question that captures the email of the ArcGIS account logged into Survey123. Check this question type in the Survey123 help. The email XLSForm question type is never shown to the end user. By definition, this question is hidden.
If you want to include a question in your form for respondents to enter an email: I suggest you do the following:
For example:
regex(., '^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$')
Attaching an XLSForm so you can see the whole thing.
The email question type in XLSForm is actually not what you thought: The email question is special type of question that captures the email of the ArcGIS account logged into Survey123. Check this question type in the Survey123 help. The email XLSForm question type is never shown to the end user. By definition, this question is hidden.
If you want to include a question in your form for respondents to enter an email: I suggest you do the following:
For example:
regex(., '^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$')
Attaching an XLSForm so you can see the whole thing.
@IsmaelChivite thank you for the clarification. This helps out greatly!