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 :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Customization of Entity Forms In Portal

(0) ShareShare
ReportReport
Posted on by 10

Hi, I am exposing an entity form from CRM to Portal which has Email Address and Phone Number Fields. How do I provide custom validation to these fields in the submit of entity form button. Also whenever I submit the entity form a default email validation is triggered in the form and form get refreshed again and data entered in the previous fields are lost. How do I handle this? Can you please provide me a solution...

Thanks

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Vishnu,

    You can know more about Configure advanced form metadata for portals, which contains validation.

    Go Portal Management > Entity Forms.

     pastedimage1619770533600v1.png

    pastedimage1619770588901v2.png

    The following link contains properties that modify various validation parameters and error messages.

    https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-web-form-metadata#validation

    Dynamics 365 Portals Tip #40 - Validation Form Metadata - Engineered Code - YouTube

    or you can refer following thread to know other ways to validate fields in the portal:

    (+) How to add validation rules in powerapps portals - Microsoft Dynamics CRM Forum Community Forum

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Suggested answer
    Fubar Profile Picture
    2,761 on at

    It depends on the validation required - Metadata may not be enough (it is also a second pass validation - if you have other validation from the out of the box form validator the metadata ones don't get listed to the user until all the form validator ones are resolved).

    You can extend the form validator using JavaScript to add your own validation routines etc  docs.microsoft.com/.../add-custom-javascript

    You may have some setting on your Entity Form definition to do a refresh after submit - usually the fields are not cleared when there is a validation error.

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
FSRon Profile Picture

FSRon 75

#2
James White Profile Picture

James White 21

#3
AT-28040446-0 Profile Picture

AT-28040446-0 20

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans