You searched for the word(s): 2
-
Hi,
if(XDocument.IsNew)
{
XDocument.DOM.selectSingleNode("xpath").text = "default value"
}
-
Hello,
While taking the data connection you have to select ‘Database' in the place of XML Document. Then you will get the data from database.
Your dropdown list box entries should be above database connection and point to the specific node.
Based on requirement you have to apply your rule to set the value. If you give more details on ...
-
Hello,
In onLoad function you have to write the below code,
if(!XDocument.IsNew)
{
XDocument.DOM.selectSingleNode("<XPath of the drop down field").text = "";
}
-
Thanks guys,
Sandhaypati's code worked fine.
Thanks
Hari :)
-
PL Group Lookup must be a data connection in your form. Is it a connection to a file included with your form? Or an external file? If the file is included with your form, you can go to Tools/Resource Files and export the file that data connection is using, then open up the XML and check it out.
Just in general, if you want to see the files that ...
-
-
-
Thanks for the helphowever it appears to have resolved itself, I am sure what happened bu thanks for the advice anyway on another topic I am trying to find a way of creating an editable email when I click on a button. Is there anyway of achieving this?
Thanks in advance
-
When trying to go to preview mode, I get the following message, INFOPATH CANNOT CREATE A NEW BLANK FORM. THE FORM TEMPLATE IS INVALID.
When I go to show details....this is what i see.
The following DataObject either cannot be created or cannot be initialized: PL Group Lookup
The query cannot be run for the following DataObject: PL Group ...
-
Hello,
I have an InfoPath 2003 form that opens up a resource file. I have a field that connects to that resource file and provides 3 options: 1)Optional - Please Select 2) Install 3) Do Not install. The default value on the Data Source is essentially 'XMLField3' where XMLField=InfoPathField and where ...