<?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: Using controls: How to check of all questions answered of a form view?</title><link>https://www.infopathdev.com:443/forums/thread/82136.aspx</link><pubDate>Thu, 30 Aug 2012 04:30:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82136</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82136.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=82136</wfw:commentRss><description>&lt;p&gt;Hilary,&lt;/p&gt;&lt;p&gt;thanks. This was nontrivial (sample.xsn) &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Using controls: How to check of all questions answered of a form view?</title><link>https://www.infopathdev.com:443/forums/thread/72528.aspx</link><pubDate>Thu, 01 Dec 2011 00:11:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72528</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72528.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=72528</wfw:commentRss><description>&lt;p&gt;Yeah, I&amp;#39;d probably just have used an expression box (calculated value) and hidden it if any of the fields I&amp;#39;ve got on the view are blank. I&amp;#39;ve attached a simple sample form. Save it locally, right click the file and open in design mode. From there preveiw - if you put a value in every field, you&amp;#39;ll see the expression box. You&amp;#39;ll see I&amp;#39;ve got all my conditions in a single formatting rule - by using &amp;quot;the expression&amp;quot; you can get around the UI limit of 5 conditions per rule. &lt;/p&gt;</description></item><item><title>Re: Using controls: How to check of all questions answered of a form view?</title><link>https://www.infopathdev.com:443/forums/thread/72527.aspx</link><pubDate>Wed, 30 Nov 2011 23:39:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72527</guid><dc:creator>KeithMartin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72527.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=72527</wfw:commentRss><description>&lt;p&gt;More like this. I have two controls on the form:&lt;/p&gt;
&lt;p&gt;What is your gender with two radio buttions (control name = gender)&lt;/p&gt;
&lt;p&gt;What is your age? text box with control name of &amp;quot;age&amp;quot;&lt;/p&gt;
&lt;p&gt;For the gendor control, I set a rule like, if gender isblank then set value of gender_ctr = 0, if not blank then value of 1 (I created a counter field for each answer control), basically same process for the age text box, if blank then counter value = 0, or if not blank then 1.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I then sum all the page counter and if equal to the page/view total then i show a field what states &amp;quot;PAGE COMPLETE&amp;quot;. It works but maybe there is an easier way. I have about 10 questions on each view. At then end of all of the pages, i ahve a summary page which shows that status of each page and whether each page is complete. If not, the user can link back to the needed view. Once complete then they can submit the form.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;If there is a better / easier way, I&amp;#39;m all ears. Thanks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using controls: How to check of all questions answered of a form view?</title><link>https://www.infopathdev.com:443/forums/thread/72526.aspx</link><pubDate>Wed, 30 Nov 2011 23:23:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72526</guid><dc:creator>exemplaris</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72526.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=72526</wfw:commentRss><description>&lt;p&gt;Normally when you insert the radio buttons the first one will have a value of &amp;quot;1&amp;quot; the second &amp;quot;2&amp;quot; and so on. So if what you are saying is that you would add the values of the radio buttons and expect them to add up to the number of questions I don&amp;#39;t think this would work as any buttons with a value of more than one would throw off your calculation.&lt;/p&gt;</description></item><item><title>Re: Using controls: How to check of all questions answered of a form view?</title><link>https://www.infopathdev.com:443/forums/thread/72525.aspx</link><pubDate>Wed, 30 Nov 2011 23:17:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72525</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72525.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=72525</wfw:commentRss><description>&lt;p&gt;Perfect, if that works for your scenario - this means that your data (XML) contains just 0 &amp;amp; 1 - depending on your XML structure, there&amp;#39;s a chance your data wouldn&amp;#39;t make sense without the form. &lt;/p&gt;&lt;p&gt;For example - let&amp;#39;s say you didn&amp;#39;t get around to renaming your fields - so they are all &amp;quot;field1&amp;quot;, &amp;quot;field2&amp;quot; and so on (not that you&amp;#39;d do that).&lt;/p&gt;&lt;p&gt;Your XML would look like:&lt;/p&gt;&lt;p&gt;&amp;lt;myFields&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field1&amp;gt;1&amp;lt;/field1&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field2&amp;gt;0&amp;lt;/field2&amp;gt;&lt;br /&gt;&amp;lt;/myFields&amp;gt;&lt;/p&gt;&lt;p&gt;Not terribly meaningful. And then, let&amp;#39;s say your questions are on your template - &amp;quot;Were you on time?&amp;quot;, &amp;quot;Did you like the show?&amp;quot;. If you modify your template to change the questions, you&amp;#39;d have no way of knowing what the user was originally answering.&lt;/p&gt;&lt;p&gt;So, while I like the idea of using 0/1 and summing - it is clean and efficient! there are some concerns you need to be aware of.&lt;/p&gt;</description></item><item><title>Re: Using controls: How to check of all questions answered of a form view?</title><link>https://www.infopathdev.com:443/forums/thread/72523.aspx</link><pubDate>Wed, 30 Nov 2011 23:00:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72523</guid><dc:creator>KeithMartin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72523.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=72523</wfw:commentRss><description>&lt;p&gt;Thanks for answering. One method that I have been testing is to have all controls on the page view with no answer to have a value set to zero, then when&amp;nbsp;user answers change the value to 1. I then add the values at the end of each page and if the total = number of questions, then i mark page complete. Is this a good way?&lt;/p&gt;</description></item><item><title>Re: Using controls: How to check of all questions answered of a form view?</title><link>https://www.infopathdev.com:443/forums/thread/72521.aspx</link><pubDate>Wed, 30 Nov 2011 22:50:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72521</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72521.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=72521</wfw:commentRss><description>Another option would be a calculated value with conditional formatting. Just have to add all the conditions for hiding it.</description></item><item><title>Re: Using controls: How to check of all questions answered of a form view?</title><link>https://www.infopathdev.com:443/forums/thread/72457.aspx</link><pubDate>Tue, 29 Nov 2011 15:55:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72457</guid><dc:creator>exemplaris</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72457.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=72457</wfw:commentRss><description>Here is one way.

Assuming that all radio buttons are blank (=0). In a text box put a formula to sum all of the radio buttons. If the value of the text box is &amp;quot;not equal to&amp;quot; &amp;quot;0&amp;quot; or &amp;quot;is greater than&amp;quot; &amp;quot;0&amp;quot; use a rule to set your control to &amp;quot;section complete&amp;quot;. Set the conditional formatting on the textbox to &amp;quot;if present&amp;quot;&amp;quot;Hide this control&amp;quot;.</description></item><item><title>Using controls: How to check of all questions answered of a form view?</title><link>https://www.infopathdev.com:443/forums/thread/71949.aspx</link><pubDate>Thu, 10 Nov 2011 20:50:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71949</guid><dc:creator>KeithMartin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71949.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=71949</wfw:commentRss><description>&lt;p&gt;I am creating a mult-view form, essentially with multiple pages. I want to set the value of a control at the bottom of each page to &amp;quot;Section Complete&amp;quot; when all of the questions have been answered on each page/sections. I&amp;#39;&amp;#39;ve tried a few options will little success. Any ideas? I need to do this will rules or formulas of some type. Assume all of the questions are radio buttons.&lt;/p&gt;</description></item></channel></rss>