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

Send email message without attaching form

jhcarrell
Level 3
Level 3

Below is a sample click event javascript for a button.  This will generate an email including form information of your choosing without attaching the actual form (PDF) itself.

This would benefit people in situations that have the form auto saving to a predetermined location, but would still like an email notification that the form has been submitted.

     var cMyMsg = "Your Text\n\n";
          cMyMsg += "Your Text " + Fieldname1.rawValue + "\n";
          cMyMsg += "Your Text " + Fieldname2.rawValue + "\n";

     app.mailMsg({
          bUI: false,
          cTo: "To EmailAddress",
          cCc: "CC EmailAddress",
          cSubject: "Your Subject Text",
          cMsg: cMyMsg
     });

Enjoy!

0 Replies