<?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: Automatic field insert</title><link>https://www.infopathdev.com:443/forums/thread/7611.aspx</link><pubDate>Thu, 08 Sep 2005 15:02:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7611</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7611.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7611</wfw:commentRss><description>Where are you planning to retrieve the email address from?  Is the email address in a database (access, sql server), is it being returned from a web service, do you want to get it from active directory?  Having that information will dictate the code that needs to be writting in this event handler.</description></item><item><title>Re: Automatic field insert</title><link>https://www.infopathdev.com:443/forums/thread/7610.aspx</link><pubDate>Thu, 08 Sep 2005 13:20:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7610</guid><dc:creator>Khansolo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7610.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7610</wfw:commentRss><description>Thanks for your help vt_asparagus.&lt;br /&gt;&lt;br /&gt;Could you give me an example of what I should put in the event handler?  The email address field that I have is a drop down menu with options of various e-mail addressess but I want this to be automatically selected when the contact field is selected.  Please help.  I'm very new to Jscript.&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Automatic field insert</title><link>https://www.infopathdev.com:443/forums/thread/7609.aspx</link><pubDate>Fri, 02 Sep 2005 19:46:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7609</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7609.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7609</wfw:commentRss><description>Use the OnAfterChange event on the Contact Name field.  To quickly add an event, double click on the field, click on data validation button, there is an events dropdown, select OnAfterChange and press the edit button.  In that event handler, go out to whatever datasource you have and get the e-mail address.&lt;br /&gt;&lt;br /&gt;You cannot use the other two events listed in that dropdown because the DOM is locked and no changes can be committed.</description></item><item><title>Automatic field insert</title><link>https://www.infopathdev.com:443/forums/thread/4892.aspx</link><pubDate>Fri, 02 Sep 2005 17:58:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4892</guid><dc:creator>Khansolo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4892.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4892</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;How do I link 2 fields so that if field 1 contains text, field 2 will automatically fill with a corresponding text.  For example,  I have two fields called "contact name" and "e-mail address".  Once I select a contact name, I want the "e-mail address" field to automatically insert the e-mail address corresonding to that contact name.</description></item></channel></rss>