You searched for the word(s): 2
-
Hi,
If the 3 fields are in the same section then apply OnAfterChange functionality to the section and implement all your rules in that OnAfterChange functionality. For example please follow the below code.
[InfoPathEventHandler(MatchPath = "/my:myFields/my:group1", EventType = ...
-
I had this problem before - but I think I gave up and decided to use the Rules instead of scripting.
If you have a button control on your form already just add a rule to Submit to where ever and then a rule for "Close the form"
-
Hello,
Before inserting the new node you have to set your default value to that node.
If you want by default four nodes with hardcode values then you have to add same node four times with different values in template.xml.
-
Hi Shiva,
Thanks for that , but the above code will close only the form.
I need to close the whole InfoPath application.
Any thoughts?
-
Normal
0
false
false
false
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table ...
-
Hello, Here is the code to insert the node in onAfterChange event, if(eventObj.Operation != "Insert" || changedValue)
{
return;
}changedValue = true;XDocument.View.ExecuteAction("xCollection::insert", "repeatingGroup_2")changedValue = ...
-
Normal
0
false
false
false
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table ...
-
Can you explain in more detail?
-
Hi Guys,
Can anyone help me with the below issue?
Some of you may already know that the InfoPath application remains open after the 'Submit' button is clicked. The form itself closes, but the InfoPath window sits there needlessly. I have made a couple of attempts in my time to resolve this, and to be honest, I have ...
-
Hi Guys,
I need to hardcode values in repeating table.
For example: I have 4 values namely - Category A, Category B, Category C and Category D.
I need this to be hardcoded in Repeating table as dropdown menu.
Can we achieve this using VB script. Below is example using ARRAY but I want to use repeating table instead.
For index = 1 ...