<?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: Questionnaire - Displaying percentage of questions completed for a section</title><link>https://www.infopathdev.com:443/forums/thread/46167.aspx</link><pubDate>Mon, 24 Aug 2009 13:57:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46167</guid><dc:creator>Sam Camblin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46167.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46167</wfw:commentRss><description>&lt;p&gt;Hi Jimmy,&lt;/p&gt;
&lt;p&gt;Thanks for your quick response.&amp;nbsp; It works brilliantly in your example form.&amp;nbsp; Unfortunately when I try and reproduce it in another form it&amp;#39;s displaying NaN in the preview.&amp;nbsp; Thoughts?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Attached is a screenshot with my data source.&amp;nbsp; I updated your logic for my data source as follows: &lt;/p&gt;
&lt;p&gt;count(descendant-or-self::node()/QuestionsRepeating[Rating != &amp;quot;&amp;quot;]) / count(//QuestionsRepeating) * 100&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Qazi Anis: Thanks for your response, but I&amp;#39;m using qRules and I&amp;#39;m trying to find a solution that doesn&amp;#39;t use additional code.&lt;/p&gt;</description></item><item><title>Re: Questionnaire - Displaying percentage of questions completed for a section</title><link>https://www.infopathdev.com:443/forums/thread/46148.aspx</link><pubDate>Sat, 22 Aug 2009 15:19:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46148</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46148.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46148</wfw:commentRss><description>&lt;p&gt;you can use code to loop over the repeating tables, section and based on the number of questions answered you can set a field to the %age completed field .&lt;/p&gt;</description></item><item><title>Re: Questionnaire - Displaying percentage of questions completed for a section</title><link>https://www.infopathdev.com:443/forums/thread/46146.aspx</link><pubDate>Sat, 22 Aug 2009 14:25:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46146</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46146.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46146</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Not sure if you can download this either, but could you give the attached a try?&amp;nbsp; All the logic it uses is in the default value of SectionPercentageComplete.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Questionnaire - Displaying percentage of questions completed for a section</title><link>https://www.infopathdev.com:443/forums/thread/46131.aspx</link><pubDate>Fri, 21 Aug 2009 16:50:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46131</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46131.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46131</wfw:commentRss><description>&lt;p&gt;Oh wow, repeating tables. Yeah, it&amp;#39;s a bit more complicated in that scenario... I&amp;#39;ll have to think about that.&lt;/p&gt;
&lt;p&gt;In the meantime, re-attaching my samples as zip. If you can&amp;#39;t download it we&amp;#39;ll communicate via email.&lt;/p&gt;</description></item><item><title>Re: Questionnaire - Displaying percentage of questions completed for a section</title><link>https://www.infopathdev.com:443/forums/thread/46130.aspx</link><pubDate>Fri, 21 Aug 2009 16:05:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46130</guid><dc:creator>Sam Camblin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46130.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46130</wfw:commentRss><description>&lt;p&gt;Hi ErnestoM,&lt;/p&gt;
&lt;p&gt;Thanks for your quick response.&amp;nbsp; Your first idea is good, but won&amp;#39;t work in this situation.&amp;nbsp; I couldn&amp;#39;t download the XSN file you posted for your other ideas.&amp;nbsp;&amp;nbsp;Can you email them to me instead?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was thinking of something simple&amp;nbsp;like on the attached &amp;quot;test&amp;quot; view, but I&amp;#39;m not sure how to sub-total it in repeating tables and repeating sections on the &amp;quot;View1&amp;quot;.&amp;nbsp; Thoughts?&lt;/p&gt;</description></item><item><title>Re: Questionnaire - Displaying percentage of questions completed for a section</title><link>https://www.infopathdev.com:443/forums/thread/46129.aspx</link><pubDate>Fri, 21 Aug 2009 15:49:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46129</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46129.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46129</wfw:commentRss><description>&lt;p&gt;Here&amp;#39;s a non qRules solution but it fails to account for invalid values. So if you have an integer field and someone enters a letter, this will still consider that &amp;quot;complete&amp;quot; and the percentage increases.&lt;/p&gt;
&lt;p&gt;Note: qRules will not work if your form already has code, and IPFS compatability is being tested as we speak (type).&lt;/p&gt;</description></item><item><title>Re: Questionnaire - Displaying percentage of questions completed for a section</title><link>https://www.infopathdev.com:443/forums/thread/46127.aspx</link><pubDate>Fri, 21 Aug 2009 15:38:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46127</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46127.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46127</wfw:commentRss><description>&lt;p&gt;Hey Sam,&lt;/p&gt;
&lt;p&gt;This is just a prototype, but this MAY be possible with qRules. See the attached form. There are rules on load and on each field, plus the percentage calculation. The problem with this is that&lt;/p&gt;
&lt;p&gt;a) all fields need to be required&lt;/p&gt;
&lt;p&gt;b) we need a field (hardcoded) with the total number of fields.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll revisit this sample if it seems like something people might be interested in.&lt;/p&gt;</description></item><item><title>Re: Questionnaire - Displaying percentage of questions completed for a section</title><link>https://www.infopathdev.com:443/forums/thread/46125.aspx</link><pubDate>Fri, 21 Aug 2009 15:20:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46125</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46125.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46125</wfw:commentRss><description>&lt;p&gt;Hi Sam,&lt;/p&gt;
&lt;p&gt;I can think of one simple way of doing this, but it might not be what you want. Still, here it is.&lt;/p&gt;
&lt;p&gt;1. Separate your questionnaire into various views. Let&amp;#39;s say you have 4 views, with (roughly) the same number of questions.&lt;/p&gt;
&lt;p&gt;2. You have buttons to &amp;quot;Go to the next view&amp;quot; when a user completes the fields in one view.&lt;/p&gt;
&lt;p&gt;3. Then it&amp;#39;s simple: view 2 says 25% complete, view 3 says 50% complete, view 4 days 75% complete.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve heard of an Active X control to show a progress bar, but I&amp;#39;ve never implemented it and&amp;nbsp;never seen it in action. I know it&amp;#39;s linked from an old forum post.&lt;/p&gt;</description></item><item><title>Questionnaire - Displaying percentage of questions completed for a section</title><link>https://www.infopathdev.com:443/forums/thread/46122.aspx</link><pubDate>Fri, 21 Aug 2009 12:29:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46122</guid><dc:creator>Sam Camblin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46122.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46122</wfw:commentRss><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m creating a questionnaire with sections, subsections, and questions.&amp;nbsp; The sections and subsections are repeating sections and the questions are a repeating table.&amp;nbsp; I want to display the percent of questions that have been answered in each&amp;nbsp;section.&amp;nbsp; For instance, when someone selects a rating for a question its considered completed and the &amp;quot;percentage complete&amp;quot; for that section is updated.&amp;nbsp; Attached is&amp;nbsp;my XSN file.&amp;nbsp; Please help!&lt;/p&gt;</description></item></channel></rss>