<?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: How to calculate total Yes responses from an Infopath DDL with choices Yes, No, N/A in a survey questionnaire</title><link>https://www.infopathdev.com:443/forums/thread/95761.aspx</link><pubDate>Mon, 10 Feb 2014 03:26:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95761</guid><dc:creator>Sushil</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95761.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=95761</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks a lot Patrick. I&amp;#39;ll definitely give it a try. I would like to know significance of repeating group node in this. Would the schema be:&lt;/p&gt;&lt;p&gt;myfields:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Group&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -TotalSectionField&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Repeating Group&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -group1&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Questionfield1&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Questionfield2&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to calculate total Yes responses from an Infopath DDL with choices Yes, No, N/A in a survey questionnaire</title><link>https://www.infopathdev.com:443/forums/thread/95738.aspx</link><pubDate>Sun, 09 Feb 2014 20:51:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95738</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95738.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=95738</wfw:commentRss><description>&lt;p&gt;Hi Sushil,&lt;/p&gt;&lt;p&gt;Yes, you should use a repeating group node with a question field&amp;nbsp;underneath it and a default value on a totals field (above the repeating group) that calculates the total number of questions answered. You can use the count function that is built into InfoPath with a condition check inside to see if an answer was set. &lt;/p&gt;&lt;p&gt;To use a repeating group, you will have to add multiple rows and question values to the default values dialog.&lt;/p&gt;&lt;p&gt;Here&amp;#39;s an example xpath that calculates count for all fields in your form: 

&lt;/p&gt;&lt;div class="O1" style="text-align:left;text-indent:-0.31in;margin-top:4.32pt;margin-bottom:0pt;margin-left:0.81in;unicode-bidi:embed;direction:ltr;-ms-word-break:normal;language:en-US;mso-line-break-override:none;punctuation-wrap:hanging;"&gt;&lt;span style="color:black;font-family:Calibri;font-size:18pt;language:en-US;mso-ascii-font-family:Calibri;mso-ascii-theme-font:minor-latin;mso-fareast-theme-font:minor-fareast;mso-bidi-theme-font:minor-bidi;mso-color-index:1;mso-font-kerning:12.0pt;mso-style-textfill-type:solid;mso-style-textfill-fill-themecolor:text1;mso-style-textfill-fill-color:black;mso-style-textfill-fill-alpha:100.0%;"&gt;count&lt;/span&gt;&lt;span style="color:black;font-family:Calibri;font-size:18pt;language:en-US;mso-ascii-font-family:Calibri;mso-ascii-theme-font:minor-latin;mso-fareast-theme-font:minor-fareast;mso-bidi-theme-font:minor-bidi;mso-color-index:1;mso-font-kerning:12.0pt;mso-style-textfill-type:solid;mso-style-textfill-fill-themecolor:text1;mso-style-textfill-fill-color:black;mso-style-textfill-fill-alpha:100.0%;"&gt;((//*[not(*)] | //@*)[not(name() =
&amp;quot;&lt;/span&gt;&lt;span style="color:black;font-family:Calibri;font-size:18pt;language:en-US;mso-ascii-font-family:Calibri;mso-ascii-theme-font:minor-latin;mso-fareast-theme-font:minor-fareast;mso-bidi-theme-font:minor-bidi;mso-color-index:1;mso-font-kerning:12.0pt;mso-style-textfill-type:solid;mso-style-textfill-fill-themecolor:text1;mso-style-textfill-fill-color:black;mso-style-textfill-fill-alpha:100.0%;"&gt;xml:lang&lt;/span&gt;&lt;span style="color:black;font-family:Calibri;font-size:18pt;language:en-US;mso-ascii-font-family:Calibri;mso-ascii-theme-font:minor-latin;mso-fareast-theme-font:minor-fareast;mso-bidi-theme-font:minor-bidi;mso-color-index:1;mso-font-kerning:12.0pt;mso-style-textfill-type:solid;mso-style-textfill-fill-themecolor:text1;mso-style-textfill-fill-color:black;mso-style-textfill-fill-alpha:100.0%;"&gt;&amp;quot;)][.
!= &lt;/span&gt;&lt;span style="color:black;font-family:Calibri;font-size:18pt;language:en-US;mso-ascii-font-family:Calibri;mso-ascii-theme-font:minor-latin;mso-fareast-theme-font:minor-fareast;mso-bidi-theme-font:minor-bidi;mso-color-index:1;mso-font-kerning:12.0pt;mso-style-textfill-type:solid;mso-style-textfill-fill-themecolor:text1;mso-style-textfill-fill-color:black;mso-style-textfill-fill-alpha:100.0%;"&gt;&amp;#39;&amp;#39;])&lt;/span&gt;&lt;/div&gt;&lt;p&gt;

&amp;nbsp;&lt;/p&gt;</description></item><item><title>How to calculate total Yes responses from an Infopath DDL with choices Yes, No, N/A in a survey questionnaire</title><link>https://www.infopathdev.com:443/forums/thread/95730.aspx</link><pubDate>Sat, 08 Feb 2014 03:31:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95730</guid><dc:creator>Sushil</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95730.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=95730</wfw:commentRss><description>&lt;p&gt;Hi folks,&lt;/p&gt;&lt;p&gt;I am quite a newbie to InfoPath&amp;nbsp;2010 designer. I have been asked to generate a questionnaire form and have it published in SharePoint. The form has several sections and&amp;nbsp;each section having several questions with only responses Yes, No, N/A. Later, I have to get total Yes count&amp;nbsp;for each section.&amp;nbsp;I have entered a rule for each textfield QF (question field) to check for Yes and if the condition is met update the SectionTotalField=SectionTotalField+1. Is there a better way to achieve the result?&lt;/p&gt;</description></item></channel></rss>