<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>How to prepopulate field based on a manually entered value from a previous field?</title><link>https://www.infopathdev.com:443/forums/thread/39576.aspx</link><pubDate>Mon, 16 Mar 2009 14:42:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39576</guid><dc:creator>jim_r</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39576.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=39576</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have a &amp;quot;Billing Address/Delivery Address&amp;quot; section in a form that I&amp;#39;m trying to replicate.&amp;nbsp; I&amp;#39;m working in InfoPath 07 but working in a template that is compatible with 2003.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Here&amp;#39;s what I want to do:&lt;/p&gt;&lt;p&gt;After a user enters a delivery zip code and hits [Tab], display the question &amp;quot;Is the Delivery Address different from the Billing Address? Yes/No&amp;quot;&lt;/p&gt;&lt;p&gt;If they select &amp;quot;Yes&amp;quot;, a new section with the Delivery address displays, prepopulated with the information entered for the Billing Address.&lt;/p&gt;&lt;p&gt;&amp;nbsp;If they select &amp;quot;No&amp;quot;, a new section with the Delivery address displays, but the user must manually enter the information.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What I&amp;#39;ve tried so far:&lt;/p&gt;&lt;p&gt;I created the question (called del_bill_question) in a separate section and set this &amp;quot;question section&amp;quot; to hide if the billing zip code field is blank (it works!)&lt;/p&gt;&lt;p&gt;I created a &amp;quot;delivery_address&amp;quot; section, added fields, and set it to hide (conditional formatting) if &amp;quot;del_bill_question&amp;quot; is blank. (also works!)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Tried to get the data to populate in the delivery address section&amp;#39;s fields by using rules (these don&amp;#39;t work yet):&lt;/p&gt;&lt;p&gt;If &amp;quot;del_bill_question&amp;quot; is &amp;quot;2&amp;quot; (No) (ie, the addresses match), then set the delivery address street to the billing address street, repeat this same rule with the city, state, and zip fields.&amp;nbsp; &lt;/p&gt;&lt;p&gt;If the question = 1 (Yes) (addresses don&amp;#39;t match), then allow the user to enter new data in the delivery address fields.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any ideas?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Jim &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>