cancel
Showing results for 
Search instead for 
Did you mean: 

How to allow international email addresses at the registration screen?

SebastianSchuck
Active Participant
0 Kudos

Hey all,

I want to allow users to enter international email addresses at the registration form (following RFC 5336). But even after adjusting the validation regex in the data schema, the screen set form validation is still rejecting any email address with non-ASCII chars (e.g. üöä).

Is there any way to adjust that validation to accept all emails matching a given regex expression? Or do I need to add another input field type and then map that to the email/login Id?

View Entire Topic
SebastianSchuck
Active Participant
0 Kudos

Here's the conclusion I came to after some consideration:

As CDC's UI Builder relies on the html input field type email the email input does not support international email addresses (see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email#validation).

So you have to use a normal text input an map that to emails. For client based validation you have to add that to the screensets JS validation logic.