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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Send email message without attaching form


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";

          bUI: false,
          cTo: "To EmailAddress",
          cCc: "CC EmailAddress",
          cSubject: "Your Subject Text",
          cMsg: cMyMsg


0 Replies