Sharing calculations with recipient

Hi all,

  • Issue description: I cannot find the option to share some of the calculation results. The only possible option is to share all calculation fields, which I want to avoid. Is there a way to share only relevant calculation fields and leave out the underlying calculation fields.

  • Link to the page with the widget in question:

2 Likes

Hi there and welcome to the Community, @Jochem :waving_hand:

Yep, it’s possible! To set it up, you should open the Email Notifications section on the Actions tab and then choose Notify Respondents:


As you can see, calculation results and calculation inputs are pulled to the emails via dynamic tags - [calculation-results] and [calculation-inputs]:

These tags pull all results and all inputs. To display a specific field input, you should a tag for this field only. You can find a dynamic tag for each field at the bottom of its settings:


To get the tag for a specific calculation, you need to take the calculation’s name, write it in lowercase letters, separate the words with hyphens, and put it in square brackets. For example, the correct tag for the Uurkosten assistente calculation is [uurkosten-assistente].

Thus, to make it work, you need to remove [calculation-results] and [calculation-inputs] tags from the Message field and add tags for specific fields and calculations instead.

Please let me know if it helped or if you have any questions left :slightly_smiling_face:

1 Like

Hi Max,

Yes, that’s exactly what I meant. Your explanation makes it clear how the tags should be structured and why the generic tags need to be removed.

Thank you for your help — this clarifies everything.

2 Likes

Perfect, thanks a lot for your kind feedback!

Feel free to reach out us again in case of any other questions. We’ll be more than happy to help :wink:

1 Like

Hi Max,

I tried implementing the tags as described (lowercase, hyphenated, and placed in square brackets). However, when I use these tags in the email that is sent to the user, the results are not displayed in the message. Instead, the email only shows the literal tags themselves.

In the back-end the tags appear to be recognized correctly, but they are not being replaced with the calculation results in the email output.

Do you know what might be causing this?

Thanks in advance for your help.

1 Like

Hi @Jochem :waving_hand:

I see that you’ve added them bold:


Please try to remove the bold style and let me know if it helped :slightly_smiling_face:

Hi Max,

It didn’t change the outcome.

1 Like

Got it, thanks!

It seems to be a bug in the widget, but we’ve applied a temporary fix to your widget. Please check it out and let me know if it’s working now :slightly_smiling_face:

We’ll also investigate the issue globally and will update you one it’s resolved.

Nope, the results are still not displayed in the message.

1 Like

I am really sorry about it!

Our devs will look into this further. I’ll keep you posted!

1 Like

Thank you!

Maybe to help the devs, the results are visible in the notify me e-mail.

1 Like

Hi Max, the problem is resolved. Thank you!

1 Like

Hi @Jochem :waving_hand:

Yep, we’ve resolved the issue in the widget. We’ve also noticed that the calculations you’d like to send to the clients were hidden in the results section, which was another reason for the issue. To send the calculation result in emails, it must be shown in the results:


Thus, we’ve enabled the Show in Results option for these calculations, but we’ve hidden them using this code in the Custom CSS field on the Settings tab of your widget’s settings:

[class*="result-secondary__SecondaryContainer-sc"]:not(:first-child) {
  display: none;
}

I hope this explains things.

If you have any questions left, we’ll be happy to advise :wink: