I have a Drop box list(Drop_1) with the items below:
Items Value
AB 1
AC 2
AD 3
How I can include into email subject the selected every time item from the DropBox(No the value)?
Here is the script for the eMAIL BUTTON:
form1.Page1.Sub_1.Mail_HR::click - (JavaScript, client)
var
myDoc = event.target;
var
address = "";
var
sub = "Staffing Req - ";
var
Sender =(form1.Page1.Sub_1.Drop_1.rawValue);
var
msgBody = "See my staffing Requisition Form attached.\n\nThank You!";
myDoc.mailDoc({ bUI
: false,
cTo
: address,
cSubject
: sub + Sender,
cMsg
: msgBody + "\n\nRegards\n",
cSubmitAs
: "PDF"});