Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Is there a way to get an email address entered into a text field added to a submit button url?

Avatar

Level 1

I have an approval form that I am working on.  I would like for it to be sent back to the employee after my approval by using the email address that they provide in the email field.  Please help, as I am on a deadline.

0 Replies

Avatar

Level 10

event.target.submitForm({

     cURL: "mailto: Katerina.Aburn.ctt@mda.mil,SPPCOHVVITSupportTeam@mda.mil;?bcc=Doe.Loe. ctt@mda.mil;&subject=write subject here&body=write message here",

     bEmpty: true,

     cSubmitAs: "PDF",

     cCharset: "utf-8"

});

Avatar

Level 3

Hi Kayla3536,

You can also write it on click of a button.

var oDoc = event.target;

oDoc.mailDoc({
bUI: true,
cTo: fldTo.rawValue,
cCC: fldCC.rawValue,
cSubject: fldSubject.rawValue,
cMsg: fldMessage.rawValue
});

Avatar

Level 2

Hi,

var mail;

var address = Mailaddress.rawValue;

var sub = "Subject";

var msgBody = "* * ** * * ";

mail = "mailto: " + address +"?Subject=" + sub +"&body=" + msgBody ;

event.target.submitForm({

cURL: mail,

bEmpty:true,

cSubmitAs: "PDF",

cCharset: "utf-8"

});