-
IXMLDOMNode and NodeList are from Microsoft.Office.Interop.InfoPath.SemiTrust. Your form code should have an imports statement like this at the top:
Imports Microsoft.Office.Interop.InfoPath.SemiTrust
Then try:Dim nodes As IXMLDOMNodeList
Dim node As IXMLDOMNodeDim i As Int16
Dim strField As String
nodes = ...
-
Yes, this will always set the value of the first node. You'll need to select the list of @Q8OthIncYesNo2a nodes and set the value for each of them.
For example (note, I'm just 'freehanding' this and could easily have compilation errors, but it will give you the idea):
IXMLDOMNodeList nodes = ...
-
Oh, I don't have any code in that -- it was just a simple form with a button and a rule. I may have greatly underestimated what you are trying to do -- but if your button is outside your repeating section and the action is to set the field the checkboxes are bound to as 'true', your button will set all the fields. If it is inside the ...
-
Hi,
Where is your button located? Is it in the same repeating section? Or outside of the repeating seciton? What actions do you have in the rule on the button?
I've attached a sample template. Right click the link in the message header and save the file locally. Then right click and open in design and preview. Add a bunch of sections, click ...
-
I may have spoken too quickly -- check out this blog post. I have no idea if this works...
-
Not that I know of, nor that I can find mention of online. This thread suggests conditionally formatted expression boxes as a work around.
-
Try this blog post and see if it helps you.
-
But dialog box message aren't supported from rules in Browser forms either.
-
Hover your mouse over the word with the underline -- you should see a tip about why you have an error. You can also look in the error list window in Visual Studio.
When I paste your code into a VB class, I get an error that values is not declared. That is because you declare the variable in this line:
For Each values As XPathNavigator In ...
-
To start with, a bit more information would be helpful -- what are you trying to do? What example did you follow? Are you getting any errors?
I can't help but notice you have a 'for each' loop with no action in between the for each and the next.... but then, there is a 'Select' inside square brackets that has me confused as ...