<?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: Infopath Form Progress</title><link>https://www.infopathdev.com:443/forums/thread/73948.aspx</link><pubDate>Fri, 13 Jan 2012 03:50:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73948</guid><dc:creator>kkendapa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73948.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73948</wfw:commentRss><description>&lt;p&gt;Adding&amp;nbsp; an additional slash works great but now i&amp;#39;m facing with another problem, if I publish the form to libary with browser based I get this error &amp;quot;Required Fields of type xsd:base64Binary may not show validation errors correctly when the form is edited in a web browser. To fix this problem, add an xsd:minLength restriction to the field&amp;#39;s schema&amp;quot;. This error comes up only when I have&amp;nbsp;the formula with additional slash, i went into xml and added the xs:minLength setting it to 3 or 4 but the error wont go away, any thoughts on this?&lt;/p&gt;&lt;p&gt;Thank You&lt;/p&gt;</description></item><item><title>Re: Infopath Form Progress</title><link>https://www.infopathdev.com:443/forums/thread/73850.aspx</link><pubDate>Thu, 12 Jan 2012 06:55:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73850</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73850.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73850</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t have a good answer for your required fields question.&amp;nbsp; There isn&amp;#39;t a good way to determine whether a field is required or not.&amp;nbsp; For your latest question, please try adding two slashes after &lt;em&gt;nodepath&lt;/em&gt; instead of just one.&lt;/p&gt;</description></item><item><title>Re: Infopath Form Progress</title><link>https://www.infopathdev.com:443/forums/thread/73821.aspx</link><pubDate>Wed, 11 Jan 2012 21:56:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73821</guid><dc:creator>kkendapa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73821.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73821</wfw:commentRss><description>&lt;p&gt;Hi Jimmy&lt;/p&gt;&lt;p&gt;I have another issue here, when I do a count on particular node it gets me the correct values but if the node has child nodes its not counting them, can you please help me fix this. The way i&amp;#39;m doing it is&lt;/p&gt;&lt;p&gt;count((nodepath/*[not(*)] | nodepath&lt;a href="mailto:nodepath/@*)[not(name"&gt;/@*)[not(name&lt;/a&gt;() = &amp;quot;xml:lang&amp;quot;)]&lt;/p&gt;&lt;p&gt;What should do to make it count its descendants.&lt;/p&gt;&lt;p&gt;Thank You very much for the help so far.&lt;/p&gt;</description></item><item><title>Re: Infopath Form Progress</title><link>https://www.infopathdev.com:443/forums/thread/73775.aspx</link><pubDate>Wed, 11 Jan 2012 03:39:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73775</guid><dc:creator>kkendapa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73775.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73775</wfw:commentRss><description>Can we use code to do it? Do you think that solution would work?</description></item><item><title>Re: Infopath Form Progress</title><link>https://www.infopathdev.com:443/forums/thread/73757.aspx</link><pubDate>Tue, 10 Jan 2012 20:51:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73757</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73757.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73757</wfw:commentRss><description>&lt;p&gt;The only solution I can think of (and it&amp;#39;s not a very good one), is to prefix the name of the required fields with some special suffix like req_, and then you could use formulas like this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; count((//*[not(*)] | &lt;a&gt;//@*)[not(name&lt;/a&gt;() = &amp;quot;xml:lang&amp;quot;)][starts-with(local-name(), &amp;#39;req_&amp;#39;)])&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; count((//*[not(*)] | &lt;a&gt;//@*)[not(name&lt;/a&gt;() = &amp;quot;xml:lang&amp;quot;)][starts-with(local-name(), &amp;#39;req_&amp;#39;)][. != &amp;#39;&amp;#39;])&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This has the obvious drawback of giving you some somewhat unpleasant looking field names, and would make it hard to change which fields are and aren&amp;#39;t required later (while still maintaining this design), so I would advise caution.&lt;/p&gt;</description></item><item><title>Re: Infopath Form Progress</title><link>https://www.infopathdev.com:443/forums/thread/73739.aspx</link><pubDate>Tue, 10 Jan 2012 17:12:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73739</guid><dc:creator>kkendapa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73739.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73739</wfw:commentRss><description>&lt;p&gt;Hi Jimmy&lt;/p&gt;&lt;p&gt;I got it working for the individual views but the only issue I have 
now is I cannot count just the required fields. I tried data binding 
just required fields to a new group and counting it, that works but 
fails when the required field is in a repeating section or table it 
counts only the first row.&lt;/p&gt;Any help on how I could bind just the 
required fields from repeating table or section to a different group of 
fields which are data bound to the required fields in repeating table(or
 section) &lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Infopath Form Progress</title><link>https://www.infopathdev.com:443/forums/thread/73586.aspx</link><pubDate>Fri, 06 Jan 2012 15:12:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73586</guid><dc:creator>kkendapa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73586.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73586</wfw:commentRss><description>&lt;br /&gt;</description></item><item><title>Re: Infopath Form Progress</title><link>https://www.infopathdev.com:443/forums/thread/73555.aspx</link><pubDate>Fri, 06 Jan 2012 08:36:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73555</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73555.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73555</wfw:commentRss><description>That&amp;#39;s pretty cool - you&amp;#39;ve created an approach that works for all forms.&amp;nbsp;Very impressive use of xpath! :)&amp;nbsp;</description></item><item><title>Re: Infopath Form Progress</title><link>https://www.infopathdev.com:443/forums/thread/73553.aspx</link><pubDate>Fri, 06 Jan 2012 07:54:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73553</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73553.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73553</wfw:commentRss><description>&lt;p&gt;Well, this seems to be a pretty reliable formula for counting the total number leaf nodes (fields) in a form, assuming you don&amp;#39;t have any childless groups in your data source:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; count((//*[not(*)] | &lt;a&gt;//@*)[not(name&lt;/a&gt;() = &amp;quot;xml:lang&amp;quot;)])&lt;/p&gt;
&lt;p&gt;And then this would count all the fields that have been filled in:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; count((//*[not(*)] | &lt;a&gt;//@*)[not(name&lt;/a&gt;() = &amp;quot;xml:lang&amp;quot;)][. != &amp;#39;&amp;#39;])&lt;/p&gt;
&lt;p&gt;If you divide the second one by the first one, that should give you the percentage of fields that have been completed.&lt;/p&gt;</description></item><item><title>Progress</title><link>https://www.infopathdev.com:443/forums/thread/73536.aspx</link><pubDate>Thu, 05 Jan 2012 20:59:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73536</guid><dc:creator>kkendapa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73536.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73536</wfw:commentRss><description>&lt;p&gt;something like percentage completed(assuming the the fields which are blank are not completed).&lt;/p&gt;&lt;p&gt;What would be an good approach for this?&lt;/p&gt;</description></item></channel></rss>