SBX - Search With Button

SBX - Forum Post Title

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

Microsoft Dynamics CRM Forum

Jorge Gomez asked a question on 12 Jan 2018 2:24 AM
My Badges

Question Status

Verified

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!

Reply
Arpit Shrivastava responded on 28 Apr 2018 2:02 PM
My Badges
Verified Answer

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.

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

Reply
JackieWiener responded on 12 Jun 2019 3:49 PM

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

Reply
Arpit Shrivastava responded on 28 Apr 2018 2:02 PM
My Badges
Verified Answer

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.

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

Reply

SBX - Two Col Forum

SBX - Migrated JS