Announcements
No record found.
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.
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.
Thank you for your response. How do I use this with Marketing forms?
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
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 101 Super User 2026 Season 1
11manish 83
Muhammad Shahzad Sh... 69 Most Valuable Professional