Last post 06-20-2008 04:03 AM by
mehtavipulk. 0 replies.
-
06-20-2008 04:03 AM
|
|
-
mehtavipulk


- Joined on 05-27-2008
- Posts 17
|
Data could not get committed to Forms Liabrary on button click event
Hi,
On my button click event (using VSTA) I explicitly set values to one of my InfoPath fields (which I do not display on my form). But the InfoPath does not commit that data to the forms library. I implemented below code to modify a field on button click event & submit it to Forms Library
private void SetFormField(XPathNavigator xPath, string xPathExpr, string value) { xPath.SelectSingleNode(xPathExpr, NamespaceManager).SetValue(value);
}
SetFormField(xPath, "/my:myFields/my:Field1", "1");
The value/data "1" does not get committed to Forms Library
While submitting the data using VSTA, do I need to do set some properties to explicityly commit data back to forms library?
Regards,
Vipul Mehta
Vipul Mehta
|
|
Page 1 of 1 (1 items)