Problem with email or jump to url
Apr 28, 2014
Hi all
I have been asked to create a button which will send an email to a specified address, with a custom subject and some body text
I know the code to do this using either a send email or jump to url in Articulate - and had this working last week
However, it seems to be broken now
Setting a trigger to send an email just does not work when published, and the mailto as url does nothing either
The code is below
It works in a browser etc, but even on checking when this code is in the trigger within storyline, it comes up invalid url - and as I said simply using an email trigger similarly does not work when published (preview does not support email or javascript.
Any ideas?
Thanks
3 Replies
Hi Alastair,
I can't speak to the Javascript code for your email body, but if the regular send email trigger or jump to url trigger are not working when you test the published output, you'll first want to confirm your testing it within the intended environment as testing it locally could cause features of your content to fail.
Using the same code without the "mailto:" will get the desired results.
Pasting the email address followed by the Javascript codecode into the "Send email to" trigger has worked for me.
Thanks for popping in to share your experience with the community here Socorro :) This may not assist the user here since the post is quite dated, but could certainly assist someone in the future.
This discussion is closed. You can start a new discussion or contact Articulate Support.