Use our Google Custom Search for best site search results.
Search
-
Hello!
I am trying to add some code so it can be triggered after a field(within a repeating section) is changed. but it only gets trigered for the first row and not the rest of them. below is what I have so farpublic void COUNT_1MM_Changed(object sender, XmlEventArgs e)
{
//create navigator for count fieldXPathNavigator COUNT_1MM = ...
-
that was it. THANK YOU very much!!! it WORKS!!!
-
Thank you for the quick response Jimmy. I added TOTAL_LENGTH_1MM.CreateAttribute("xsi", "nil", NamespaceManager.LookupNamespace("xsi"), "true"); to my code, but now I am getting this message
System.InvalidOperationException was unhandled by user code
Message="Schema ...
-
Hello everyone,
I have been trying for days now, to figure out but nothing id working :(
i am writing some code on changed event to check the content of one of my fields in infopath, if the field contains anything (int in this case), then I display a message that the field must be blank and then I want to delete that content. I gues ...
-
hello,
I have a c# application which after clicking a button in infopath form, creates an HTML file. I would like to open this page in a NEW window, instead of what is actually doing, opening under a new tab. Any help will be greatly appreciated.
<code>
fileName = ("Warningfile " + PHYS_MSTR_water_body_id.ToString() + " ...
-
I apologize for not being very clear. Basically, after the user fills out this form, and before they save it, they click on "check" button, which trigers an event and goes through some of the fields for make comparisons. and that is when I need to access that SPECIES_ID field from the repeating sections and have not been able to. ...
-
well, the thing is, the application breaks when it hits
doc.Load(NFile); // NFile contains the file NameI think it is beacause NFile only contains the file name not a path, as the xml file is not saved yet. so I don't know if there is any other way to acces the SPECIES_ID field, or maybe another way to point to this ...
-
hello all!!
I have a repeating section such as:
SPECIES_ID
count
length
weight
notes
I need to only access SPECIES_ID value for each repeating section and store it into an array. I am working in C#, and I need to do this before saving the infopath form.
I have tried using:
XmlDocument doc = new ...
-
Thank you, I appreciate the help anyways!
-
Hello everyne!
I would like to know how you can copy an Infopath button (with C# code behind it) from one template to another, if that is possible. At my workplace, we have another developer that makes the changes in the template, and I am the one writting the code behind the button. But now that there is an updated template, what is the ...