-
Hello friends,
In Infopath 2007, I want to list users in a DropDownList control using the http://ServerName/_vti_bin/UserGroup.asmx web service's "GetUserCollectionFromSite" method.
But when i add this web service as a Secondary Receiver data source to my form, i can't see repeating group fields of this ...
-
Does someone know how can I implement this code using Infopath 2007?
My namespace Microsoft.Office.Infopath doesn't have this method.
Thanks
-
It's not as elegant as removing events, but I would add a 3rd element to store the name of the trigger element and test for that when each event fires.
private void TextBox1_Changed(object sender, XmlEventArgs e)
{
if (ReadElement("EventFiredByElement") != "TextBox2")
{
...
-
Normally users cannot change the predefined styles while filling out a form
-
Hi tfiema,
A possible solution for this is to implement code that removes the eventhandler from textbox 2 before changing it's value and re-add the eventhandler after the value is changed.
For example:
You need to have 2 change events, one for Textbox1 and one for Textbox2:
public void changeTextbox1Event()
{
Remove ...
-
Hi, so you are using vbscript?
Dim objXMLNodes
Set objXMLNodes = XDocument.DOM.selectNodes("/my:myFields/my:group/my:repeatinggroup")
for each node in objXMLNodes
XDocument.UI.Alert(node.nodeName + VBNewLine + node.text)
next
I'm attaching my sample form. In the ...
-
You can save as source files and open manifest.xsf and look for xsf:ruleset elements. Save a copy of your form first, of course, in case you delete something you don't need to. From the MSDN documentation:
Example
The following is an example of the ruleSets element:
<xsf:ruleSets>
<xsf:ruleSet ...
-
Hi:
In C#, I used 'this.Print()' which worked on my test form. Add a button to your form, then under the button's properties, select Edit Form Code. If you are using VB.NET, I'd assume Me.Print() would work. This is for the client version of IP. I'm not sure how to do this for a browser form, but this article on printing to ...
-
I have a form with a dropdown listbox that looks up its values in an XML file attached to the form. It works great if the user has InfoPath but does not work in a browser form. I use the XML file to populate other fields based on the user's selection. What can I do to get the same functionality in a browser-compatible form?
-
I think you want:string sExistingTitle = xnMyForm.SelectSingleNode("/dfs:myFields/dfs:dataFields/dfs:Request_For_Change/@Title[. = '" + sNewTitle + "']", NamespaceManager);