homepage Welcome to WebmasterWorld Guest from 184.73.87.85
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

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
stout71




msg:3794781
 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">
<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"/>

 

httpwebwitch




msg:3794843
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved