<?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: Is there a way to default a section or entire document without code?</title><link>https://www.infopathdev.com:443/forums/thread/24150.aspx</link><pubDate>Fri, 02 Nov 2007 15:38:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24150</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24150.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24150</wfw:commentRss><description>&lt;p&gt;Hey Ryan,&lt;/p&gt;
&lt;p&gt;It can get pretty hairy, good form design is important.&lt;/p&gt;
&lt;p&gt;Does the form use views?&amp;nbsp; If there are several scenarios for forms, it often works well to have multiple views, instead of multiple hidden sections within one view, this can reduce the logic.&lt;/p&gt;
&lt;p&gt;As far as defaults, typically you can set a universal default for a given field.&amp;nbsp; If values will be determined by user selection then you would have to use rules.&lt;/p&gt;
&lt;p&gt;Even with code, finding all of the rules and conditions can be a tedious process.&lt;/p&gt;
&lt;p&gt;Another option that can help is to use a data source to store default values.&amp;nbsp; If you have multiple &amp;quot;sets&amp;quot; of values they can be stored as XML or in a database and then when a default is needed you could possible get a set of values instead of each individual one.&lt;/p&gt;
&lt;p&gt;Those are my thoughts.&lt;/p&gt;
&lt;p&gt;Good Luck.&lt;/p&gt;</description></item><item><title>Is there a way to default a section or entire document without code?</title><link>https://www.infopathdev.com:443/forums/thread/24143.aspx</link><pubDate>Fri, 02 Nov 2007 01:00:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24143</guid><dc:creator>rzwahr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24143.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24143</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;I have a pretty lengthy infopath 2003 document that has a lot of conditional hiding/showing of sections depending on the options picked.&amp;nbsp; The logic is actually getting pretty tough to manage, but I&amp;#39;ll address that later.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;What I want to do is pretty simple in theory.&amp;nbsp; If a section is hidden by an option that is picked, not only do I want to hide it, but I also want to make sure that action defaults all the values in the section that it hides.&amp;nbsp; Now, I know I can create rules to do this, but some of these sections have dozens of elements in them, and there are several sections.&amp;nbsp; It would be nice if there is some way that you could &amp;quot;default&amp;quot; a section with a built in option without code, or at least with a simple command that is tied to an event.&amp;nbsp; I am trying to keep this document as basic as possible, but it&amp;#39;s turning into &amp;quot;spaghetti&amp;quot; with all the rules and conditional formatting I am having to do.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Trying to avoid as much code as I can because I am a beginner at this.&lt;/p&gt;&lt;p&gt;&amp;nbsp;On the logic piece, if anyone has advice on how to manage rules and conditional formatting, this would be welcome.&amp;nbsp; I have no holistic way to view all of the logic I have in this document, short of visiting the properties page of every control and looking at the rules and formatting options individually.&amp;nbsp; I have read people recommending it be put in code, but I do not even know how to begin doing this.&amp;nbsp; Is visual studio needed? Or can it be done &amp;quot;out of the box&amp;quot;?&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any advice?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;Thanks guys!&lt;/p&gt;&lt;p&gt;Ryan&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>