Dynamic Items not loading mailto button link

I set a dynamic piece of content to the subject line and email section of a button (mailto link):

However, when you click the button, it doesnt show the content in the subject. It does, however, show the content in the email (To:) section.

Any advice?

This site is on an internal intranet, so I can’t give access. Also, this is all meant to open an Outlook window.

Hello @aekokobe,

Thank you very much for the details. I have investigated the issue and I can confirm that this is a bug in the recent release of the theme. I’ve submitted this to our issue tracker so the developers will be made aware of it. Once they’re able to fixed it, it will be updated and rolled out in the next release update cycle.

Please bear with us.

1 Like

Thank you @RueNel. For anyone else wondering, here is the workaround I’m using:

$("_insert button class/id here_").on("click", function (){
   let email_variable = " insert email address here ";
   let subject_variable = " insert subject here ";
   document.location = "mailto:"+ email_variable  + "?subject="+ subject_variable;  });

You’re welcome and thanks for sharing! :wink:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.