You searched for the word(s): 2
-
Hi,
By setting a rule on the button you can close the form.
1. Go to button properties.
2. Click on Rules.
3. Click Add and then click Add Action.
4. Select close the form in the Action drop down.
Or you can use the following code line to close the form.This should be placed in the button click event.
thisXDocument.View.Window.Close(true);
-
Wow! I have been trying to find a solution for two days now, thank you, thank you, thank you....
Toril
-
Certainly. Just bind the dropdown box to a field in the repeating section, and give it 3,50, 2,90, and 3,00 as its three values, and "More than 100", "Less than 100" and "Equals 100" as the respective display names.
Then create a text box in your form that is bound to the same field as the dropdown box (go ...
-
Is there a way that I can close the entire browser using a hyperlink or button.
Cheers
-
I am relatively new to Infopath and have been struggeling with a problem.
I have a drop down field in a repeatable table and want to populate another field in the same table based on information in the first one.
I know how to filter an imported list from Sharepoint.
However, I only need 3 values in my list and was hoping this could be ...
-
As no one replies anymore I startet to do my own tests...
First of all I simply would like to look if I can read a value given in a field called SmartKey
Sub copyButton_OnClick(eventObj)
Dim Hello
Dim SmartValue
set SmartValue = XDocument.DOM.selectSingleNode("//my:myfields/my:Smartkey").text
Hello = MsgBox(SmartValue, 0, ...
-
Hi:
tahnk you very much for your reply.
It would be great if you can explain in bit detail. So here is the thing, I need to do.
1. Add one hidden textbox(name: IsApproved) to the task form.
2. Set its default value to false.
3. On submit button, add a rule to set this textbox field value to true.
4. Now, i need add ...
-
Are you using full trust form?
This code is working for me in a normal form.
-
Hi,
Try with this:
Add one boolean hidden field "Is Approved" to schema.
Bydefault this field value should be "False.
Set this field value as "true" when user approve the form.
To displable the button add following code in the HTMl page.
If(Is Approved == "true")
{
ButtonID.Disabled = ...
-
It looks like you want to be using code more like this:
Dim Node as XPathNavigator
Dim sVar as String
Node = MainDataSource.CreateNavigator().SelectSingleNode("/my:mesChamps/my:CODE_RISQUE")
sVar=Node.Value