<?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>Re: How do I "hide" a section in one view based on the button value from another view?</title><link>https://www.infopathdev.com:443/forums/thread/39598.aspx</link><pubDate>Tue, 17 Mar 2009 00:38:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39598</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39598.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=39598</wfw:commentRss><description>&lt;p&gt;Hello Jim, and welcome to the forum.&amp;nbsp; There is a very simple way to do this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Create a field in your data source to hold a value to reflect which button was pressed.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Create a rule in each of your &lt;em&gt;change view&lt;/em&gt; buttons to set a value in this field, depending on which button it was. For example if someone clicks the A button, specify a rule on the A button to set the field&amp;#39;s value to &amp;quot;A.&amp;quot;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Use conditional formatting on the section to hide the section if the field has certain values.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;</description></item><item><title>How do I "hide" a section in one view based on the button value from another view?</title><link>https://www.infopathdev.com:443/forums/thread/39590.aspx</link><pubDate>Mon, 16 Mar 2009 17:38:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39590</guid><dc:creator>jim_r</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39590.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=39590</wfw:commentRss><description>&lt;p&gt;Hi again,&lt;/p&gt;&lt;p&gt;I looked for this in the help, couldn&amp;#39;t find the answer, so here I am.&lt;/p&gt;&lt;p&gt;I figured out how to change views with buttons earlier today thanks to Anuma.&amp;nbsp; Now I need to figure out how to hide a section in one view based on which button a user selected in another view.&lt;/p&gt;&lt;p&gt;There doesn&amp;#39;t seem to be a &amp;quot;stock&amp;quot; option for this, since the only &amp;quot;non-customized&amp;quot; methods I can use to hide/show a section involve conditional formatting.&amp;nbsp; Do I need to create a custom script?&lt;/p&gt;&lt;p&gt;For example, the billing county only displays if a user selects button A or B in the &amp;quot;Start Up&amp;quot; view.&amp;nbsp; I created a section called &amp;quot;billing_county_group&amp;quot; and within it a field called &amp;quot;billing_county&amp;quot;. If the user selects button A or B in Start Up, the billing_county_group must be hidden.&amp;nbsp; There are actually about 7 sections in the Data Entry view that need to be &amp;quot;hidden&amp;quot; if a user selects the A or B button.&lt;/p&gt;&lt;p&gt;Any ideas?&amp;nbsp; In the meantime, I&amp;#39;ll keep looking for an answer.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks again,&lt;/p&gt;&lt;p&gt;Jim &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>