Special characters in email field

Aleksandar Nikolić asked on June 8, 2018 15:18

Hello guys,

I have a problem with email field in my online form. Some customers in Germany have email domains with Germans letters, for example with letter "ß": @groß.com... But this kind of email addresses is not valid in Kentico email field. How I can change it to allow letters: ß, ü, ä...

Recent Answers

Vladimir Udalov answered on June 8, 2018 16:32

Aleksandar, some magic webconfig keys are very useful.

Please check this key CMSEmailValidationRegex. This is help me

0 votesVote for this answer Mark as a Correct answer

Aleksandar Nikolić answered on August 15, 2018 12:01 (last edited on August 15, 2018 12:20)

I tried to add this

 < add key="CMSEmailValidationRegex" value="^[A-ZöÖüÜäÄß0-9._%+-]+@[A-ZöÖüÜäÄß0-9.-]+\.[A-Z]{2,4}$"/ > 

in this part

< appSettings >
of web.config but in that case no one address is valid.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.