<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Retrieve data from XML file</title><link>https://www.infopathdev.com:443/forums/thread/49073.aspx</link><pubDate>Sun, 15 Nov 2009 11:54:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49073</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49073.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=49073</wfw:commentRss><description>&lt;p&gt;Hi Chris,&lt;/p&gt;
&lt;p&gt;Just add another text box control and set conditional visibility to hide the dropdown if it&amp;#39;s set to the &amp;quot;I&amp;#39;m not listed&amp;quot; and display the read-only text control with the e-mail address. Should be a piece of cake. Designer will look weird since you&amp;#39;ll have two controls side by side, but runtime will be fine since you only ever have one of the forms showing.&lt;/p&gt;</description></item><item><title>Retrieve data from XML file</title><link>https://www.infopathdev.com:443/forums/thread/48992.aspx</link><pubDate>Thu, 12 Nov 2009 16:15:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48992</guid><dc:creator>smods</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48992.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=48992</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have a drop down list box on my form which receives data from an XML file (Users Name) and it automatically populates the users e-mail address in a read only text box.&lt;/p&gt;
&lt;p&gt;The first option in the drop down list is &amp;quot;I&amp;#39;m not listed&amp;quot; and if the user selects this option the e-mail box opens up for write access allowing the user to enter their e-mail address manually.&lt;/p&gt;
&lt;p&gt;The form is then e-mailed off via a data connection and the user is CC&amp;#39;d in based on the e-mail address populated in the e-mail box.&lt;/p&gt;
&lt;p&gt;When the form is received and the option is &amp;quot;I&amp;#39;m not listed&amp;quot; and the form is opened the e-mail field is blank, presumably because it&amp;#39;s looking back at the XML file and see&amp;#39;s the &amp;quot;I&amp;#39;m not listed option&amp;quot; has no e-mail address next to it.&amp;nbsp; Is there anyway for me to say if the user is &amp;quot;I&amp;#39;m not listed&amp;quot; not to look at the XML file?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;</description></item></channel></rss>