-
Try the approach suggested here:
http://www.infopathdev.com/forums/p/11076/39449.aspx
-
I understand XPath, count, and that nothing in my data source is actually being modified, and I think the way count() works makes perfect sense and should function no other way (otherwise, how would you truly know the number of items in the data source?). I was just hoping to have the functionality to count the filtered nodes without having ...
-
Here is how to calculate number of the results are equal -1
string-length(eval(eval(YourRepeatingGroup, 'substring-after(../YourScorefield = -1, "u")'), ".."))
replacing -1 by other values will get you all range of sums.
-
Essentially the formula would be something like this:
Number of Yes answers:
count(/my:myFields/my:questions/my:question[my:answer = 1])
No answers:
count(/my:myFields/my:questions/my:question[my:answer = 0])
N/A answers
count(/my:myFields/my:questions/my:question[my:answer = -1])
Of course, the actual formula will be different ...
-
I think that once you understand XPath a bit better, you'll find that there's really nothing silly about this behavior. When you filter a repeating section, you are only concealing certain rows from the visual representation of the data, not removing nodes from the data itself. The XPath functions are concerned with the contents of ...
-
ok
I think I cracked this one
The rich text boxes do not seem to show up outlook webmail for some reason
I changed them to multiline text boxes and the problem was solved.
do not know why this happens but thats how it works.
thank you
Þorsteinn
-
the box is a rich text box
Sorry about not stating that before
multiline is active and the box expands instead of forming a scroll bar.
-
We have a form with numerous questions. All of the questions have yes or no type answers but some of them are not applicable and the user should be able to identify them as such. I am currently using a option field with 3 values, 1, 0, -1 for the questions with n/a as a valid choice, but we are having problems getting the logic to sum up the ...
-
Is the Data Type set to "Picture or File Attachment"?
-
It works great.. you're a genius. Errors are no longer in "Design Checker"....
I am shooting for another design question: What is the best approach to create a "PRINT" button to print the summary view?
Thanks