<?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 repeating section rules based on button click outside of section</title><link>https://www.infopathdev.com:443/forums/thread/100459.aspx</link><pubDate>Mon, 08 Dec 2014 20:06:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100459</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100459.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=100459</wfw:commentRss><description>&lt;p&gt;well - in qRules we could have used a command to go through and set all those nodes in the repeating group - even with qRules I would have taken this approach.&lt;/p&gt;
&lt;p&gt;The qRules command overview lists everything - download and install the free trial and then you can check out the command overview for more info on what all is included as well as try it out. :)&lt;/p&gt;</description></item><item><title>Re: InfoPath repeating section rules based on button click outside of section</title><link>https://www.infopathdev.com:443/forums/thread/100458.aspx</link><pubDate>Mon, 08 Dec 2014 19:55:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100458</guid><dc:creator>adamcfishman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100458.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=100458</wfw:commentRss><description>&lt;p&gt;You are absolutly awesome!!!&lt;/p&gt;&lt;p&gt;As mentioned in original post does QRules have this functionality built in? Also while browsing Qdabra website I could not find a comprehensive list of functions available?&lt;/p&gt;</description></item><item><title>Re: InfoPath repeating section rules based on button click outside of section</title><link>https://www.infopathdev.com:443/forums/thread/100457.aspx</link><pubDate>Mon, 08 Dec 2014 19:31:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100457</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100457.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=100457</wfw:commentRss><description>&lt;p&gt;Here is what I would do -&lt;/p&gt;
&lt;p&gt;I would set the CAP Error field in each repeating group to the value you want the error to be, using a default value. Then I&amp;#39;d just put a repeating section at the bottom of the form that shows the error message if the count review is &amp;lt; the number. Then I would just disable the button if there are any errors. In the attached form I&amp;#39;ve kind of set up what I&amp;#39;m talking about - you can save it locally and then right click and select Design to see the changes.&lt;/p&gt;
&lt;p&gt;From the submit button an expression like this:&lt;br /&gt;my:group1/my:AddCAPPlan[my:CountReviews &amp;lt; my:NumberOfReviews]&lt;/p&gt;
&lt;p&gt;I think would let you know if there were &lt;em&gt;any &lt;/em&gt;AddCAPPlan groups where the count of reviews was less than the number of reviews - but InfoPath doesn&amp;#39;t have any built in way for you to set those individual error messages from outside the repeating group.&lt;/p&gt;</description></item><item><title>Re: InfoPath repeating section rules based on button click outside of section</title><link>https://www.infopathdev.com:443/forums/thread/100455.aspx</link><pubDate>Mon, 08 Dec 2014 18:27:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100455</guid><dc:creator>adamcfishman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100455.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=100455</wfw:commentRss><description>&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;The block submit piece is not really the problem as I can
just click the box to stop additional rules from running. I am looking for the
list of all groups with errors.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3" face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Example if in each section:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;Error: Number of reviews associated with CAP &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span&gt;1.1 &lt;/span&gt;&lt;/b&gt;is
less than what is required. Based on the Date CAP started, CAP due date, and
Frequency of review there should be a total of &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span&gt;10 &lt;/span&gt;&lt;/b&gt;though only &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span&gt;9&lt;/span&gt;&lt;/b&gt;
have been recorded.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3" face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Example if on bottom of form (preferred):&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;Error: Number of reviews associated with CAP &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span&gt;1.1 &lt;/span&gt;&lt;/b&gt;is
less than what is required. Based on the Date CAP started, CAP due date, and
Frequency of review there should be a total of &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span&gt;10 &lt;/span&gt;&lt;/b&gt;though only &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span&gt;9&lt;/span&gt;&lt;/b&gt;
have been recorded.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;Error: Number of reviews associated with CAP &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span&gt;1.3 &lt;/span&gt;&lt;/b&gt;is
less than what is required. Based on the Date CAP started, CAP due date, and
Frequency of review there should be a total of &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span&gt;5 &lt;/span&gt;&lt;/b&gt;though only &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span&gt;3&lt;/span&gt;&lt;/b&gt;
have been recorded.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Error: Number of reviews associated with CAP &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span&gt;3.1 &lt;/span&gt;&lt;/b&gt;is
less than what is required. Based on the Date CAP started, CAP due date, and
Frequency of review there should be a total of &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span&gt;6 &lt;/span&gt;&lt;/b&gt;though only &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span&gt;5&lt;/span&gt;&lt;/b&gt;
have been recorded.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;</description></item><item><title>Re: InfoPath repeating section rules based on button click outside of section</title><link>https://www.infopathdev.com:443/forums/thread/100454.aspx</link><pubDate>Mon, 08 Dec 2014 18:06:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100454</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100454.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=100454</wfw:commentRss><description>&lt;p&gt;I took a closer look at&amp;nbsp;your file - I can see what the issue is now.&lt;/p&gt;
&lt;p&gt;So - you want to block submit if for any of the AddCAPPlan groups the count of reviews is less than the number of reviews? But what would the error message display? A list of all the groups where that is the case?&lt;/p&gt;</description></item><item><title>Re: InfoPath repeating section rules based on button click outside of section</title><link>https://www.infopathdev.com:443/forums/thread/100453.aspx</link><pubDate>Mon, 08 Dec 2014 18:01:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100453</guid><dc:creator>adamcfishman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100453.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=100453</wfw:commentRss><description>&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Wow qucik response,&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;I am having issues with the error message. When the button
is clicked either nothing happens or it will populate the text box with only
information from the first repeating section. In the attached file nothing happens
when button is clicked…&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

Thanks again&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: InfoPath repeating section rules based on button click outside of section</title><link>https://www.infopathdev.com:443/forums/thread/100452.aspx</link><pubDate>Mon, 08 Dec 2014 17:50:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100452</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100452.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=100452</wfw:commentRss><description>&lt;p&gt;Hi! I&amp;#39;m confused as to what the issue is? Is CountReviews not returning the number you expect? Is NumberOfReviews not getting set correctly? Or is it that the error message is incorrect?&lt;/p&gt;</description></item><item><title>InfoPath repeating section rules based on button click outside of section</title><link>https://www.infopathdev.com:443/forums/thread/100451.aspx</link><pubDate>Mon, 08 Dec 2014 17:39:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100451</guid><dc:creator>adamcfishman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100451.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=100451</wfw:commentRss><description>&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Help!?!?!?&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Somehow I got voluntold into this project, “well he is great
at Excel, so InfoPath should be no problem”. With that said this document is
the first document I have created with InfoPath and SharePoint. Some background
on the document, this document is used to track the life cycle of an audit
(finance) so I believe there was a need for both a repeating section and a
repeating table within the section. An audit may have more than 1 issue
(repeating section) and the individual Action Plans can range from daily to one
time reviews for up to 3 months these reviews must be documented (repeating
table). I am in the final stages of this project and want to start testing but I
do want to have an error check performed when the “Submit CAP to Area Director”
button is clicked (if error is found the rules would stop other rules so form
will not be submitted) &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Rule is as follows if “CountReviews&amp;lt;NumberOfReviews” then
“concat(&amp;quot;Error: Number of reviews associated with CAP &amp;quot;, ../my:group1/my:AddCAPPlan[current()]/my:ReferenceNumber, &amp;quot; is less than what is required. Based on the Date CAP started, CAP due date, and Frequency of review there should be a total of &amp;quot;, my:group1/my:AddCAPPlan[current()]/my:NumberOfReviews, &amp;quot; though only &amp;quot;, my:group1/my:AddCAPPlan[current()]/my:CountReviews, &amp;quot; have been recorded.&amp;quot;)&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;I have also tried adding both current()/../ and [current()], tried to play with eval(eval(, though not really sure how that function
works, and playing in the manifest.xsf.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;CountReviews = count(ReviewSerial) &lt;span style="color:red;"&gt;(number
of rows in table)&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;NumberOfReviews = Rules Based – Days between “CAPStartDate”
and “CAPDueDate” divided by whatever is needed to calculate for daily, weekly,
monthly, or quarterly reviews.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;This is a browser form as my end users do not have InfoPath
Filler.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;At this point I would be happy with the above message to
appear within the affected section but preferably I would like it outside of
the section on the bottom of the form just above the buttons. I would also like
the end user to either continue with the error (button to change a field to
proceed) or to go back and fix to resubmit.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;From my hours of research I believe Qrules has a solution
for this, I am currently trying to get our IT dept. (foreign) to take a look at
the solution but who knows how long that will take.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Hopefully I have given enough information to allow you to
understand what I am trying to do. Any help anyone can offer would be absolutely
awesome.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Thanks Adam&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>