web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Marketing Forms - Prevent input of values that do not match RegEx

(0) ShareShare
ReportReport
Posted on by 135
Hello,
 
we are using the telephone number field of the contact table on our marketing forms. We have the following custom validation on the field:
 
 
Unfortunately, Microsoft's standard does not prevent incorrect values from being entered, but only displays an error message when the user tries to submit the form. This is not a good solution from a UX point of view.
I would like to prevent the entry of incorrect values in real time. Optionally, an error message should appear when incorrect values are entered.

Has anyone here already had a similar scenario and can this be solved with the standard? Or only with additional JavaScript logic on the form?
 
Thanks in advance.
 
 
I have the same question (2)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 130 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 117

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans