Avatar

Level 10

Hi,

There is an example here: http://assure.ly/eUR4wJ.


// Declare the variable

var vEmail;

// Check that the email field is not null

if (txtToAddress.rawValue !== null) {

     vEmail = txtToAddress.rawValue;

}

// Send email

event.target.submitForm({cURL:"mailto: " + vEmail + "?subject=&body=",cSubmitAs:"PDF",cCharset:"utf-8"});

Niall