You searched for the word(s): 2
-
Hi,
you can use the following code for closing the form
XDocument.View.Window.Close(true);
if you want to close the whole InfoPath application you can use
Application.ActiveWindow.Close();
-
hi, can infopath handles close when user close the browser?
in .net, we can use HandleOnClose() function if user close the browser.
Does InfoPath provides the same function?
Thanks..
-
Hi,
I'm absolutely new to InfoPath, but I already reached that a from (it content as well) is stored in a form library at our WSS 3.0. Now I would like to have not experienced users (more not experienced than me :-) ) to open the data from the list and watch it with InfoPath and to have a button (I already have this button on the form) and ...
-
Hi,
Double click on the button and click on "EditFormCode" button. Copy Paste the below code. XPathNavigator xn = this.MainDataSource.CreateNavigator();
XPathNavigator xnDateTime = xn.SelectSingleNode("/my:myFields/my:field1", this.NamespaceManager);string currentDate = ...
-
Hi,
This you can do by setting the rules for the check box in the repeating table.
· Please follow the below steps for implementing your functionality.
o Open the check box properties --> Rules --> Add --> Set Condition.
o Now apply the below condition and ...
-
Unfortunately, there is no way to do this. Even when we were at Microsoft building the product, we didn't have such tools. There are automated scripts for testing the InfoPath Designer (via a backdoor into the OM, but it's not so useful). Nothing for the Editor, but you could write some system program that gets the window controls and ...
-
Hi,
You can set username to textbox by using following code. Write this in button onclick event.SetNodeValue(“/my:myFields/my:field1”,System.Environment.UserName);
Use conditional format on button so that if all the text boxes are not blank then disable button.
Here field1 is textbox control.
Hopes this helps.
-
Hi,
One way is to uncheck the ‘Show Success or failure messages' in the Submit options -> advanced section.
-
Hi,
Do you want to get the ‘SQLComplexDBID' value then the xpath you are using is not correct. Use the following xpath to get the SQLComplexDBID value.
function btnDelete::OnClick(eventObj)
{
var SQLComplexDBID = XDocument.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/d:SQLComplexDBList/@SQLComplexDBID").text; ...
-
HI,
Can you verify this link:
http://www.infopathdev.com/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx