-
I have an InfoPath template with a repeating section containing three controls. Once an xml file is created using this template, I would like to load the data from this repeating group of controls into a new template. The new template repeats the same three controls but contains additional controls (2 rich text boxes, 1 check box, and 1 date ...
-
Did you use a double backslash between folders, like:
var strRECFile = ("C:\\FolderOne\\FolderTwo");
-
I do it this way: http://davesmossblog.blogspot.com/2008/05/how-to-submit-infopath-forms-with.html
Hope this helps,
da
-
Here's an approach which avoids a specific problem. The problem: if you save your InfoPath form using a name generated from a concat of field values, then save the form, then go back and edit one of those field values, then save again, you will result in 2 files: the original (pre-edited) form and a new form with a file name reflecting the new ...
-
This is a two part question. I placed in the following code:
function XDocument::OnLoad(eventObj)
{
var fso = new ActiveXObject("Scripting.FileSystemObject");
var strRECFile = ("C:\\FolderOne");
if (fso.FolderExists(strRECFile))
{
XDocument.UI.Alert("Folder ...
-
Infopath has its own built in submit, close, save buttons. its in Tools - Submit Options.
I am quite aware of these but it doesn't seem to make any difference
quote
If your creating a new form, hit SUBMIT
If your updating an existing form, hit SAVE (ensure save button is enabled in form options).
I think you're talkin about publishing ...
-
I would really like to do it via rules and actions. However, my goal is to close the form and the application. From what I understand, this can only be accomplished via code. I noticed when I ran the "Submit to: Email", the OnSubmitRequest(eventObj) did not fire. Therefore, it seems to be [Use rules but can't close app] vs [Use code ...
-
How can I get and set properties from objects in form on InfoPath 2007? For example, I want set Text property of TextBox after clicking button.
using Microsoft.Office.InfoPath;
using System;
using System.Xml;
using System.Xml.XPath;namespace Script
{
public partial class FormCode
{public void InternalStartup() ...
-
i've created a web service for posting data to db - the ws is used as the main datasource. i can create a form using this ws and post data with no issues. when i add a secondary datasource (query only) for combo box lookup, form works fine. when i add the second secondary datasource, i get the error "infopath cannot open ...
-
One solution is to made a connection which gets those dota, and you make the count in infopath .. I think