<?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: Setting the default optional section in a choice group via vba</title><link>https://www.infopathdev.com:443/forums/thread/59657.aspx</link><pubDate>Tue, 05 Oct 2010 14:33:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59657</guid><dc:creator>Caeanis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59657.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=59657</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;After fighting with the form for half the night, a much simpler solution tapped me mentally on the shoulder.&amp;nbsp; Get rid of the Choice Group altogether and just use Optional Sections.&amp;nbsp; These work exactly as I wanted.&amp;nbsp; Doh!&amp;nbsp;&amp;nbsp; I&amp;#39;m might be dumb, but I ain&amp;#39;t stupid...&amp;nbsp; : )&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Setting the default optional section in a choice group via vba</title><link>https://www.infopathdev.com:443/forums/thread/59598.aspx</link><pubDate>Mon, 04 Oct 2010 21:18:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59598</guid><dc:creator>Caeanis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59598.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=59598</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I found that certain objects have a DefaultValue property.  I&amp;#39;m wondering for a choice group if there is something like that that can be set programmatically?&lt;/p&gt;</description></item><item><title>Re: Setting the default optional section in a choice group via vba</title><link>https://www.infopathdev.com:443/forums/thread/59594.aspx</link><pubDate>Mon, 04 Oct 2010 19:12:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59594</guid><dc:creator>Caeanis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59594.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=59594</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;And additional question is, is there a method or way to determine via vb which section is currently showing?&amp;nbsp; So that if I want to replace that section with another I can create code that first finds out if the section currently showing is the one I want, and if not replace it with the preferred section.?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Setting the default optional section in a choice group via vba</title><link>https://www.infopathdev.com:443/forums/thread/59589.aspx</link><pubDate>Mon, 04 Oct 2010 18:44:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59589</guid><dc:creator>Caeanis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59589.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=59589</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Is this possible?&amp;nbsp; I have 3 radio button group and 3 optional sections, one of which should display when the appropriate radio button is clicked.&amp;nbsp; However only the optional section which is set as the default section shows when it&amp;#39;s button is clicked.&amp;nbsp; The others do not.&amp;nbsp; So is it possible on the onclick event for the radio button group to set the appropriate optional section as the default so that it will show?&amp;nbsp; Or is there a way to enhance the rule in place to force the section to become visible?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>