i have 6 textbox defines with each variables, (Question1, Answer1 ...)
var player = GetPlayer();
var Q1 = player.GetVar("Question1");
var A1 = player.GetVar("Answer1");
var name="Juan Carlos";
var subject = "Ejercicio enviado por alumno UN2.3 INGLES";
var body_start = "Dear Teacher,\n" + name + " has sent you his/her answers:\n";
var body_end = "Please discuss this commitment with " + name + "\n";
var mailto_link = 'mailto:' +email+'?subject='+subject+'&body='+encodeURIComponent(body_start + Q1 + A1 + body_end);
win = window.open(mailto_link, 'emailWin');
but when i publish the html5 project i don´t get it to work fine!
My mail form is on a new layer (with 6 fields and the send mail button):
May be i didn't write the js right! what do you think? can you give me a hand on that (or some video tutorial)?