homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

Changing an Email button in Adobe's LiveCycle

5+ Year Member

Msg#: 3794779 posted 5:46 pm on Nov 26, 2008 (gmt 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"/>



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

Msg#: 3794779 posted 7:19 pm on Nov 26, 2008 (gmt 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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved