I am looking to add some functionality whereby when my text component is clicked, it will open the email given.
I have played around with hyperlinking the text but the “Link actions” do not suffice. I imagine I would need to call a JS function but do not have the expertise to do so.
Do you have any advice on how I could achieve this?
Hi, David! Thank you for your question.
To make the link clickable in the text component so it opens a new email message and the user can write the email you need to follow the next steps:
Select “Call a JavaScript Function” as a link’s action
Provide any string as a “Javascript Function” value
Add the next code snipped to this screen JavaScript: Fliplet.Navigate.registerFunction('email', function() { window.open('mailto:<user@email.com>'); });