-
xNode2.SelectSingleNode("@Title").Value
-
You should always save the forms to directory "A" and publish them to directory "B" when you have made changes to the form and are satisfied with them. The XSN will keep track of both of these paths and will use them accordingly. If you do this, you shouldn't need to use the Save As feature or deal with Save ...
-
You seem to be making this more complicated than it needs to be. How about this?:
substring(xdMath:Eval(xdMath:Eval(../../dfs:Secdata [@IOR = "yes"][@FormID = my:FormID], 'concat(", ", @ID)'), ".."), 2)
You should use the Insert Field... dialog to select the my:FormID field from your main data ...
-
Dim itr2 As XPathNodeIterator = itr1.Current.Select("my:group3/my:group4", NamespaceManager)
While itr2.MoveNext()
' do stuff
Next
-
The problem is that you have a space at the end of several of the Checked values. When the XSN is saved, these spaces are truncated from the default values, and this causes the field values to not match the Checked values of the checkboxes, and they are resultingly treated as unchecked.
I think I can see why you want to have spaces at the ...
-
Could you be more specific about how you want the numbering to work?
-
count((field1 | field2 | field3 | ...)[. != ''])
If the fields are in a repeating structure:
count(repeatingField[fieldToCount != ''])
-
The XPath should be "/dfs:myFields/dfs:dataFields/dfs:AuditLog". There is only one dfs:dataFields node.
-
I'm not sure what you mean by "to use javascript," but InfoPath controls cannot be directly accessed from code.
-