Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Changing an Email button in Adobe's LiveCycle

5:46 pm on Nov 26, 2008 (gmt 0)

New User

10+ Year Member

joined:Nov 26, 2008
posts: 1
votes: 0

I'm working with Adobe's LiveCycle, and it seems to run on XML script. I'm trying to create an email button (very easy) but what I'd like to do is have the recipient of the email be a variable so that whatever is selected from the dropdown window adjacent to it is the recipient that gets populated in the Outlook "To" field. I'll copy some of the code here. Please help!. Thanks.

Drop Down script:

<field name="DropDownList1" x="159.341mm" w="28.57mm" h="6mm">
<border hand="right" presence="hidden">
<?templateDesigner StyleID aped0?></border>
<font typeface="Myriad Pro"/>
<para vAlign="middle"/>
<validate nullTest="error">
<text name="nullTest">Select Credit Manager</text>
<bind match="dataRef" ref="Submit"/>
<text>Name 1</text>
<text>Name 2</text>
<text>Name 3</text>
<text>Name 4</text>
<items save="1" presence="hidden">

Email Submit Script:

<field h="6mm" name="Button1" w="34.925mm" x="170.792mm" y="5.836mm">
<font typeface="Myriad Pro"/>
<text>Submit Email</text>
<para hAlign="center" vAlign="middle"/>
<font typeface="Myriad Pro"/>
<border hand="right">
<?templateDesigner StyleID apbx2?>
<edge cap="butt" stroke="raised"/>
<color value="212,208,200"/>
<bind match="none"/>
<text name="rollover">Click to Email</text>
<event activity="click">
<submit format="pdf" textEncoding="UTF-16" xdpContent="pdf datasets xfdf" target="mailto:blahblah@blah.com"/>

7:19 pm on Nov 26, 2008 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 29, 2003
votes: 0

welcome to WebmasterWorld, stout71!

I don't know the answer to this one, but I'll ask around and see if someone can help. I might bounce your question over to the JavaScript forum