Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Hide the Reload button on the Submission confirmation page

(0) ShareShare
ReportReport
Posted on by

Hi all,

I have successfully set up a subscription center and are able to subscribe/unsubscribe to newsletters. 

The subscription center Marketing form runs on an external CMS (website) via the Form Hosting “I want to host it as a script” option.

After clicking the Subscribe button a confirmation (success) page is shown with a Reload button (see screenshot).

subscription-confirmation-page.png

It doesn't make sense for customers/leads to Reload a page after seeing the 'Thank you for your submission" message. This will only cause confusion.

So my question is this:  Is there a way to hide to Reload button and icon and only keep the confirmation text? 

Thanks, Geron

  • mvlts Profile Picture
    mvlts 35 on at
    RE: Hide the Reload button on the Submission confirmation page

    Hello All,

    I am grateful to the previous contributors for their valuable input. Utilizing the suggested code, I have been striving to attain the desired outcome.

    May I ask where and how can I access the HTML source code? Is it a JS, or web template?

    Although I successfully execute it directly in the console, I now require the implementation of the change to be visible for all contacts in the Marketing Module.

  • WJOSTL Profile Picture
    WJOSTL 10 on at
    RE: Hide the Reload button on the Submission confirmation page

    Thanks to all the previous posters. I have been trying to achieve this using the code suggested. I have added it as below but it is not working for me. Can anybody see a mistake I may have made? I have added it to the html code on the form.
    pastedimage1679327900006v1.png

  • AmeyHolden Profile Picture
    AmeyHolden 230 on at
    RE: Hide the Reload button on the Submission confirmation page

    Clofly YOU ARE A LEGEND THANK YOU!

  • Laureen  Profile Picture
    Laureen 10 on at
    RE: Hide the Reload button on the Submission confirmation page

    Hi All, 

    I'm trying to achieve the same. I understand I have to hide the reload button from the html source of the confirmation screen. Can someone tell me where to find this as I'm not sure if this should be adjusted in a Marketing form record or elsewhere?

    Thank you!

  • cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Hide the Reload button on the Submission confirmation page

    Hi Geron,

    If it has worked for you, please kindly mark as verified to close the thread, it would be really appreciated.  :)

    Regards, 

    Clofly

  • gprof Profile Picture
    gprof on at
    RE: Hide the Reload button on the Submission confirmation page

    Hi Defne,

    We got this working via the suggestion made by Clofly.

    Thanks for taking the time to find a solution. Really appreciated (both of you)

    Best regards, Geron

  • Suggested answer
    gprof Profile Picture
    gprof on at
    RE: Hide the Reload button on the Submission confirmation page

    Hi Clofly,

    Yes, it is working now using the above script.

    Thanks, very helpful as always.

    Best regards, Geron

  • Suggested answer
    RE: Hide the Reload button on the Submission confirmation page

    Hi Geron,

    This is possible via hooking to form load event. This way you can overwrite the submission handling.

    Adding this code to your html: 

    .on("formLoad", function(formLoadEvent) {

     // do nothing

     formLoadEvent.setFormNotification(function() {});

    });

    More on client side extensibility: docs.microsoft.com/.../marketing-form-client-side-extensibility


    Thanks,
    Defne

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Hide the Reload button on the Submission confirmation page

    Hi Camillia,

    I added it at bottom of HTML source code:

    pastedimage1586877914565v1.png

    You could open inspector with F12 to check whether class name of submit button in your environment also equals to "onFormSubmittedFeedbackButtonSuccess"  for confirmation.

    pastedimage1586878155928v2.png

    Regards,

    Clofly

  • Camilla Larsson Profile Picture
    Camilla Larsson 235 on at
    RE: Hide the Reload button on the Submission confirmation page

    Hi Clofly

    I have testet this and it did not work for me.

    Can you take a print screen on where you add this in the form? I am new to HTML and that would help me :)

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,234 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,994 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans