Welcome to WebmasterWorld Guest from 54.197.171.28

Forum Moderators: httpwebwitch

Message Too Old, No Replies

Changing an Email button in Adobe's LiveCycle

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

5+ Year Member



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">
<ui>
<choiceList>
<border hand="right" presence="hidden">
<?templateDesigner StyleID aped0?></border>
</choiceList>
</ui>
<font typeface="Myriad Pro"/>
<para vAlign="middle"/>
<value>
<text>1</text>
</value>
<validate nullTest="error">
<message>
<text name="nullTest">Select Credit Manager</text>
</message>
</validate>
<bind match="dataRef" ref="Submit"/>
<items>
<text>Name 1</text>
<text>Name 2</text>
<text>Name 3</text>
<text>Name 4</text>
</items>
<items save="1" presence="hidden">
<text>1</text>
<text>2</text>
<text>3</text>
<text>4</text>

Email Submit Script:

<field h="6mm" name="Button1" w="34.925mm" x="170.792mm" y="5.836mm">
<ui>
<button/>
</ui>
<font typeface="Myriad Pro"/>
<caption>
<value>
<text>Submit Email</text>
</value>
<para hAlign="center" vAlign="middle"/>
<font typeface="Myriad Pro"/>
</caption>
<border hand="right">
<?templateDesigner StyleID apbx2?>
<edge cap="butt" stroke="raised"/>
<fill>
<color value="212,208,200"/>
</fill>
</border>
<bind match="none"/>
<items>
<text name="rollover">Click to Email</text>
</items>
<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)

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



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