Feature request: Success / error message when closing an iFrame

Hello,
I’m using the card extension and I have actions in iFrames.

It would be great to be able to push a message when we close the iFrame.

ex:

window.parent.postMessage(JSON.stringify({"action": "DONE","message": "Congrats"}), "*");

It would be even better if we could choose between success message and error.

Thanks for your help.

Alex

Thanks for sharing, @adelivet.

Could you actually post this on the Ideas Forum?

We ask that all feature requests be shared there so that othe users can upvote them and add their use cases. Feel free to share the link below so that others can navigate to the idea from here.

We appreciate the feedback!

I’ve just posted it in ideas.
https://community.hubspot.com/t5/HubSpot-Ideas/Success-or-error-message-when-we-close-an-iframe-CRM-cards/idi-p/338275#M56792

Upvote it if you find it useful.

Thanks for posting, @adelivet.

I do think that feature would be useful and have upvoted your post!