<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Counting Fields With Data Entered</title><link>https://www.infopathdev.com:443/forums/thread/61403.aspx</link><pubDate>Mon, 15 Nov 2010 02:26:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61403</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61403.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61403</wfw:commentRss><description>&lt;p&gt;Hi CBrown00,&lt;/p&gt;
&lt;p&gt;We provide a GetErrorCount command in qRules v2.3 that lets you get the number of required fields that have not been filled out (or fields that are invalid). You could download a free trial and have that working in 15-20 minutes. Of course, if the fields aren&amp;#39;t required they won&amp;#39;t add to the count so you will need to make your fields required and that will mean your new form will not be backwards compatible with old XMLs created with blanks for those now-required fields.&lt;/p&gt;
&lt;p&gt;To do this on your own, you can add rules to your form that calculate when fields change, but even if you set the rule to fire on the root node, that solution will be quite involved (since as you will have to add data source nodes to calculate) and the rules won&amp;#39;t be easily portable to other form templates. That&amp;#39;s why we added it to qRules. Your approach isn&amp;#39;t bad for one solution, but it won&amp;#39;t be portable to other solutions.&lt;/p&gt;
&lt;p&gt;qRules trial is free and the plug-in is cheap. We use it as a way to defray cost of supporting this free forum. It will repay you in dividends since it has support for all of the common issues that surface when you try to develop InfoPath solutions. &lt;/p&gt;
&lt;p&gt;Best of luck,&lt;/p&gt;&lt;b&gt;&lt;i&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/b&gt;&lt;/i&gt;&lt;/font&gt;&lt;font size="2" face="Calibri,Calibri"&gt;&lt;font size="2" face="Calibri,Calibri"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Counting Fields With Data Entered</title><link>https://www.infopathdev.com:443/forums/thread/61297.aspx</link><pubDate>Thu, 11 Nov 2010 04:36:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61297</guid><dc:creator>cbrown00</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61297.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61297</wfw:commentRss><description>&lt;p&gt;I would like my form to provide a metric that indicates how many fields a user has completed either within a group or a view.&amp;nbsp; I want to be able&amp;nbsp;to see&amp;nbsp;at-a-glance what percentage of fields have been completed before time is spent actually looking at the data.&amp;nbsp; Decisions may be made based on level of completeness.&amp;nbsp; I am looking for a smart way to do this.&amp;nbsp; My idea was to create three placeholder fields: one that counts how many fields available in a given view, another that counts how many of those fields have data entered into them by the user, and a third that calculates percentage complete.&amp;nbsp; Questions:&lt;/p&gt;
&lt;p&gt;- Is this a smart way to get the desired metric? (percent of fields completed)&lt;/p&gt;
&lt;p&gt;- What formula will count the number of available fields?&lt;/p&gt;
&lt;p&gt;- What formula will count the number of fields with data in them?&lt;/p&gt;
&lt;p&gt;Thx&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>