Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

how to customize success message on submit button in Microsoft Portals via javascript?

Posted on by 150

Hello everyone,

I am working with Microsoft Portals, I designed a Page Validator following this documentation https://docs.microsoft.com/en-us/dynamics365/customer-engagement/portals/add-custom-javascript

I have seen I can edit my custom Sucess Message on CRM via the Entity Forms record on the Additional Settings but it is not enough. I would like to edit this success message via JavaScript to include the value of a variable.

I am looking for obtain the following success message. "Thank you. An email has been sent to the email address <email address value> "

Being <email address value> a value introduced by the user one step before click the submit button. Is it possible?

Thank you very much in advance!

*This post is locked for comments

  • chauhanhardik Profile Picture
    chauhanhardik 685 on at
    RE: how to customize success message on submit button in Microsoft Portals via javascript?

    Hi Arpit,

    My requirement is to display Dynamic success message like - "Record successfully created successfully by <logged in user name>".

    How can I achieve this. Any help is much appreciated.

    Regards,

    Hardik Chauhan

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: how to customize success message on submit button in Microsoft Portals via javascript?

    I can't seem to find this setting. Is this in the Marketing portal? I am in dynamics 365 for marketing portal on the form entity and  it doesn't show entity: form.  I'm in Marketing Form: Information

  • Verified answer
    Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: how to customize success message on submit button in Microsoft Portals via javascript?

    Hi Jorge,

    Best way to show your Custom Success Message on successful submission of form is Redirect option under On Success Setting Tab in Entity Form. You can customize your success webpage as per your need and can show dynamic messages as well by passing the success message text in the parameter or store it in local storage.

    217300.Capture.PNG

    If my answer helped to resolve your issue, kindly verify it by clicking 'Yes'. It would be helpful to the other community members seeking to resolve a similar issue.

    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.in

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans