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

Using a dummy/fake Submit button and a hidden "Real Submit" button


Level 5

I'm editing someone else's file in LCD ES2, and I'm really new with this software (2 weeks).  I don't know how to code XML or Java, but if you tell me where to put code, I can do that.  So I have this form that has "Dummy Submit" and "Real Submit" buttons. I don't really understand why the two are necessary, but I have seen some other discussions on the matter, so it seems like it's a common practice.  Can someone explain how they work together?

Here is the XML I pulled from the Dummy Submit button:

<event activity="click" name="event__click">

      <script contentType="application/x-javascript"> = "mailto:" + "?subject=Request a Speaker" + "&amp;body=" + "Please find our request for a speaker attached. \n \n" + xfa.resolveNode("#subform[0].PointOfContact").rawValue + "\n" + xfa.resolveNode("#subform[0].ContactPhone").rawValue ;




Here's the XML from the Real Submit button:

           <event activity="click" name="event__click">

               <submit format="pdf" textEncoding="UTF-16" xdpContent="pdf datasets" target=""/>


Can these scripts also be entered in the Script Editor in LCD?  Any help is greatly appreciated.

0 Replies

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now