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,...
Suggested Answer

Automatic Input Field Masking for Markeitng

(1) ShareShare
ReportReport
Posted on by

Is it possible with a marketing form to automatically format the fields? 

For example, we want the phone number format to always be (xxx) xxx-xxxx. When the person filling out the form enters just the numbers of their phone number, I want the form to automatically reformat it for them.

I have the same question (0)
  • Suggested answer
    Haig Liu Profile Picture
    Microsoft Employee on at

    Hi 1216ScreenName,

    It is recommended that you use PCF control:

    https://pcf.gallery/international-telephone-input/

    https://www.crmcrate.com/power-apps/pcf-custom-control-in-dynamics-365-crm-step-by-step-guide/

    It also includes a number of other out-of-the-box extensions.

  • 1216ScreenName Profile Picture
    on at

    Thank you for your response. How do I use this with Marketing forms?

  • Petr Jantac Profile Picture
    Microsoft Employee on at

    Hello,

    I would recommend editing the HTML source code of the form to modify the input field using Javascript.

    You can find some inspiration here or here.

    Petr

  • RenJones Profile Picture
    5 on at

    If you're using the preview real-time marketing forms; there's an option to add validation to fields including custom validation via regular expressions to fields to ensure that the user enters the value in the format you require:

    learn.microsoft.com/.../real-time-marketing-form-editor

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
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 60 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 43

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans