Use our Google Custom Search for best site search results.
Search
-
Not a problem! Glad to help.
-
It would just be the Xpath for that element: /my:myFields/my:numberOfSections.
Just copy this for your conditional expression: position() > /my:myFields/my:numberOfSections
-
Also, you will need add the maximum number of sections allowed to the default values. If the max number is way too big then this may not be very effiecient.
Tools -> Default Values -> find your group and click on the dropdown on the right -> Add another Group below.
This should do the trick, let me know if this works for you or not.
-
You can do something like this as a work around:
Conditional formating -> The expression -> "position() > numberOfSections" -> Hide This Section.
Use this form as a reference. They use a dropdown list to change some values, but i dont see why you couldn't do it with a text ...
-
Thanks, I appreciate it. Somehow I never even knew that dropdown was there haha.
-
I am trying to figure out a way to hide a section, depending on if ALL instances of a repeating section are not equal to a particular string.
Some psuedocode:
If (ALL instances of repeating section\@attribute !="String")
Hide Control
I tried this but i realized it obviously wont work because if any instance is not equal to the ...
-
Ya, it definitely looks like you have to use current(). This is the way I used it though, it may be of some help.
xdXDocument:GetDOM("Specifications")/Specifications/FlatFileSpecs/CCR/Header/RecordID/Description[current()/@PmtMethod = "CCR"]
So yours will looks something like this.
"Query for ...
-
Ya, it works on every computer I've tried except mine. Go figure, haha.
-
Still no luck with this issue. I am able to export to mht just fine but exporting to pdf just isn't working. I'm guessing it doesn't have anything to do with infopath but maybe some configuration setting somewhere for pdf's.
-
Ya, I already downloaded that and installed it. When I go to Save as.. It doesnt even offer me the option to save as a PDF. It only allows me to export as a pdf and that just doesn't work. Thanks for the replies though! I am going to keep playing around with it and see if I can get it to work!