on 2023 Sep 25 10:01 AM
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?
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.