Forum Discussion
DimitriosKavour
3 years agoCommunity Member
Contact Form
Hi guys, I found this template with an email submission form. https://community.articulate.com/download/flat-design-portfolio It has a javascript for sending the message, but I don't know how to configure it with the destination email. Can you help me?
The javascript is:
var player = GetPlayer();
var email=player.GetVar("email");
var subject=player.GetVar("subject");
var bodystart=player.GetVar("bodystart");
var mailto_link='mailto:'+email+'?subject='+subject+'&body='+bodystart; win=window.open(mailto_link,'emailWin');
The javascript is:
var player = GetPlayer();
var email=player.GetVar("email");
var subject=player.GetVar("subject");
var bodystart=player.GetVar("bodystart");
var mailto_link='mailto:'+email+'?subject='+subject+'&body='+bodystart; win=window.open(mailto_link,'emailWin');
- NedimCommunity Member
Hi Dimitrios,
See the attached screenshot. - JackieThrongardCommunity Member
var mailto_link='mailto:'+email+'?subject='+subject+'&body='+bodystart; win=window.open(mailto_link,'emailWin');
Where it is bolded in the code above +email+ you will need to add your email here.