Success Message widget Contact Form doesn't work

Hello everyone,

  • Issue description:

    When we submit a message via the contact form, we do receive email notifications, but the widget disappears from the site and the success message does not appear. Everything disappears from the page hosting the scrip.

  • Link to the page with the widget in question: Contact - Entamons la conversation

Is anyone else having the same problem and able to help me?

Thanks,

Greetings and welcome aboard, @Nicolas_PETIT :waving_hand:

I am so sorry about this inconvenience!

I’ve forwarded it to the devs and will report back once I have any news :slightly_smiling_face:

There was a conflict with the scripts used on your website and we’ve fixed it with this script added to the Custom JS field on the Settings tab of your widget’s settings:


String.prototype.replaceAll = function(search, replacement) {
  if (typeof search === 'string') {
    search = search.replace(/[.*+?^${}()|[\]\\-]/g, '\\$&');
    return this.replace(new RegExp(search, 'g'), replacement);
  }
  return this.replace(search, replacement);
};

Please check it out and let me know if everything is fine now :wink:

Hello,

Everything is working again, it’s perfect!

Thank you for your help and for sorting it out so quickly.

Kind regards

Great, you’re very welcome!

In the meantime, we’d like to invite you to join our Birthday Contest, where you could win 6 FREE Months for your subscription.

Check the details and join in: Birthday Contest: 10 Winners, 5 Free Years with Elfsight! 🎁