Avatar

Level 7

I included the script in the click even of the script that emails the form to the proper email address. Adding the script did not change the behavior. Here's how I used it:

//Create a variable to hold the document object

var

oDoc = event.target;

oDoc.mailDoc({

bUI

: true,

cTo

: "techserv@fheg.follett.com",

cSubject

: "New Call: Home Office SAR - " + form1.page1.firstName.rawValue + " " + form1.page1.lastName.rawValue,

cMsg

: "New Call: Home Office SAR - " + form1.page1.firstName.rawValue + " " + form1.page1.lastName.rawValue,

});

event.target.dirty

= false;