<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: script for hiding a section in form</title><link>https://www.infopathdev.com:443/forums/thread/33704.aspx</link><pubDate>Fri, 31 Oct 2008 05:59:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33704</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33704.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=33704</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;While onLoad processing is running you want to hide the section? For new InfoPath form opens you want to hide the section? When you want the hide section exactly?&lt;/p&gt;
&lt;p&gt;For hiding the section we have to add the conditional formatting of the section depending on your condition. Like as below&lt;/p&gt;
&lt;p&gt;field1 is equal to &amp;quot;true&amp;quot; -&amp;gt; Hide this control.&lt;/p&gt;
&lt;p&gt;Note: Make sure that your condition should be correct. We can&amp;#39;t do show/hide the section in script or any code.&lt;/p&gt;</description></item><item><title>script for hiding a section in form</title><link>https://www.infopathdev.com:443/forums/thread/33696.aspx</link><pubDate>Thu, 30 Oct 2008 20:02:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33696</guid><dc:creator>workthatmatters</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33696.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=33696</wfw:commentRss><description>&lt;p&gt;I need help. I know very little about scripts. I&amp;#39;m thinking this should be a pretty easy 1 or 2 liner. I wanted to use the OnLoad event to hide a section in my InfoPath form. I know you can make it default in the section&amp;#39;s properties but it will not work for my situation. Can someone write this for me? The section is named &amp;#39;approval&amp;#39; . Not sure of any other info you may need. Thank you.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>