<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Combining Numbered List and Section</title><link>https://www.infopathdev.com:443/forums/thread/30074.aspx</link><pubDate>Thu, 03 Jul 2008 12:43:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30074</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30074.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=30074</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Hi,&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Can you please try the below steps.&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Add one expression box&amp;nbsp;to the section. Open the expression box properties and add the “Position()” function in the xpath field.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Combining Numbered List and Section</title><link>https://www.infopathdev.com:443/forums/thread/30070.aspx</link><pubDate>Thu, 03 Jul 2008 09:45:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30070</guid><dc:creator>ranierbonnici</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30070.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=30070</wfw:commentRss><description>&lt;p&gt;I&amp;nbsp;have an InfoPath form with&amp;nbsp;two views to be used for a contract system.&amp;nbsp; One&amp;nbsp;view is a form which allows users to specify contract details.&amp;nbsp; The second view is the contract printout generated automatically according to what&amp;nbsp;is selected the first view.&lt;/p&gt;
&lt;p&gt;When creating the second view, I am storing clauses as plain text in sections so that I can hide or show clauses depending on what the user chooses.&amp;nbsp; Now I&amp;#39;d like my clauses to be numbered but I have a small complexity.&amp;nbsp; I would like the numbering to adjust automatically to reflect the number of clauses that is currently showing up.&amp;nbsp; Is&amp;nbsp;it possible to combine a numbered list with my sections to achieve these scenarios?&lt;/p&gt;
&lt;p&gt;Scenario 1.&amp;nbsp;Three clauses active, therefore 3 clause sections showing up and accordingly&amp;nbsp;numbering ends at 3&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Clause Text&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Clause Text&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Clause Text&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Scenario 2.&amp;nbsp;Four clauses active, therefore&amp;nbsp;4 clause sections showing up and accordingly&amp;nbsp;numbering ends at 4&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Clause Text&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Clause Text&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Clause Text&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;Clause Text&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;</description></item></channel></rss>