Hello,
as the out of the box validation of an email form field is only checking if an '@' is in the String, i needed to code a custom validation.
here is the working validation:
Now i want to access and show the user the error when entering an email that does not match the regular expression, the same way it its displayed out of the box.
Is it possible to access it through the form loader? The requirements state to not use an alert as it is bad practice.
Thank you in advance.
Greetings Jakob
Thank you very much.
With your help it worked :)
Hi Jakob,
Please refer to the following article.
Native form validation with JavaScript | falldowngoboone
The validation message is not a message come with Dynamics.
You can check out its Attributes from here.
<form> - HTML: HyperText Markup Language | MDN (mozilla.org)
To customize it, please refer to:
javascript - How to change default “please include an @ in the email address”? - Stack Overflow
If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.
Best Regards,
Nya
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,836
Most Valuable Professional
nmaenpaa
101,156