<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Auto-Populating an email address field from a Drop Down (linked to an external source)</title><link>https://www.infopathdev.com:443/forums/thread/65769.aspx</link><pubDate>Wed, 06 Apr 2011 16:02:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65769</guid><dc:creator>gman2207</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65769.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=65769</wfw:commentRss><description>&lt;p&gt;I have found a way to do it.&lt;/p&gt;
&lt;p&gt;In the dropdown box(HolidayRequestorName) that gets its data from an external source, create a rule&amp;nbsp;HolidayRequestorEmail = current() which puts a relevant number in the Holiday requestor email box.&lt;/p&gt;
&lt;p&gt;Then in the HolidayRequestorEmail box create a rule Set fields value: HolidayRequestorEmail = &lt;a href="mailto:gavin.meredith@***.co.uk"&gt;gavin.meredith@***.co.uk&lt;/a&gt; and set the condition to &amp;#39;HolidayRequestorEmail = 2 (or required number)&amp;#39; &lt;/p&gt;
&lt;p&gt;Maybe not the right way to do it but it works, thats taken me a good half a day to figure out :)&lt;/p&gt;</description></item><item><title>Auto-Populating an email address field from a Drop Down (linked to an external source)</title><link>https://www.infopathdev.com:443/forums/thread/65767.aspx</link><pubDate>Wed, 06 Apr 2011 13:22:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65767</guid><dc:creator>gman2207</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65767.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=65767</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am very new to all this and have been thrown in the deep end so to speak.&lt;/p&gt;
&lt;p&gt;I have a drop down menu that contains a list of my colleges names and that box gets its data from a SharePoint list. What i am trying to do is select a name from the drop down list and have it&amp;nbsp;auto-populate the users email address in a text box.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am managing to get this to happen to an extent&amp;nbsp;by crating a rule (setting the condition&amp;nbsp;to Employee_Name - its equal to - *** *****. This works but only if i create one rule, as soon as i create a second the first rule get cancelled and the email box displays the last rule i crated? &lt;/p&gt;
&lt;p&gt;e.g. rule1 - if requestor name = gavin meredith set requestor email to &lt;a href="mailto:gavin.meredith@****.co.uk"&gt;gavin.meredith@****.co.uk&lt;/a&gt; (this works if only one rule exists) Rule2 - if requestor name = chris winter set requestor email to &lt;a href="mailto:chris.winter@***.co.uk"&gt;chris.winter@***.co.uk&lt;/a&gt;&amp;nbsp;(this rule the overwrites rule 1 and everybodys email address ends up as the last rule created)&lt;/p&gt;
&lt;p&gt;I have managed this before but not with a box that gets its&amp;nbsp;data from an external source.&lt;/p&gt;
&lt;p&gt;I hope that is not to confusing and thank you in advance for any help I receive.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>