Is it possible to format, or validate, an e-mail in a Survey123 text field?
Can I use one input mask in the ArcGIS Survey123 text field?
Thanks,
Diego
Solved! Go to Solution.
Hey Diego,
The method outlined in this thread has been working for me.
Essentially, copy and paste this regular expression in the constraints column of the email question.
regex(., '^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\u0400-\uffff\-0-9]+\.)+[a-zA-Z\u0400-\uffff]{2,}))$')
As a disclaimer, I have very little knowledge of regular expressions and not sure if the one above would also work for "non-standard" email formats. However for the emails utilized in my survey, they all seem to work.
Vince
Hey Diego,
The method outlined in this thread has been working for me.
Essentially, copy and paste this regular expression in the constraints column of the email question.
regex(., '^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\u0400-\uffff\-0-9]+\.)+[a-zA-Z\u0400-\uffff]{2,}))$')
As a disclaimer, I have very little knowledge of regular expressions and not sure if the one above would also work for "non-standard" email formats. However for the emails utilized in my survey, they all seem to work.
Vince