Can you add HTML to the Form Display Message on form success?

Is there a way to add HTML to the form confirmation message?

Mautic keeps stripping the html, but I’d rather not redirect the user to another page.

No, you can’t.
Would be cool.
Maybe one day.

LOL.

I was attempting to circumvent that display message by using the Mautic JS Hook for form submit but in the interest of time I moved on. Turns out it wasn’t THAT important. :wink:

For those who are curious: Mautic Developer Documentation

MauticFormCallback['replaceWithFormName'] = {
    onResponse: function (response) {
         // called to process the response to the form submission
         // or change the default message to something else
    },
};
1 Like