Use our Google Custom Search for best site search results.
Browse by Tags
-
Hello, any insight on the following is greatly appreciated... Situation : If "User A" accesses a previously submitted Form and "User B" tries to access the same Form, "User B" will recieve the following message: "The form cannot be filled out because you do not have...
-
[quote user="Lepid"]I have fixed the form so that it doesn't error when submitted (error was due to spelling) however now it just submits to nowhere, that is the SP list does not update.[/quote] If you are trying to update data in SharePoint, it can be done either by configuring the Main...
-
See article Programattically Transfer Data Between InfoPath Forms for details and instructions on how to transfer data between two InfoPath forms programmatically using a JScript example similar to the above. If using SharePoint you can submit the data to a SharePoint list from the first form eith using...
-
Hi RhysAZ, Instead of opening the second form directly using a rule, you can make the button execute an OnClick event handler. The code executed then creates an AciveX (XML Document) Object which is what loads the second form programmatically. Try the following: 1. From the "Button Properties.....
-
[quote user="RhysAZ"]1. Do I paste this code in the button on form #1 (Edit Form Code)? And if so, does it run before or after the rules?[/quote] There are a few ways you can get the code to run. The easiest would probably be an event handler function associated with a button on the form, as...
-
I am not sure exactly how this can be done using rules, but it can be done using code in the "form #1" template: JScript example: //Set the path to the "form #2" template: var strNewFormPath = " http://path-to-infopath-form-template "; //Open the new form: var objNewForm...
-
Yeah, it works! Thank you very much for your help! The information to look in the template.xml helps a lot! for others... this is my running code now: >> XDocument.View.ExecuteAction("xCollection::insert", "tbl_UserRow_11"); var userRowNode = XDocument.DOM.selectSingleNode("...
-
Hi, ok, I went through the links. My code looks like this now: >> XDocument.DOM.setProperty("SelectionNamespaces", 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:q="http://schemas.microsoft.com/office/infopath/2003/ado/queryFields" xmlns:d="http...
-
I made the following corrections but I still get the same error. I deleted he Location column and re-added it so the right name is used. I was testing with using Rules for the submit option is why there were two sets of Submits. The following error occurred: InfoPath cannot submit the form. An error...
-
Yes it does. It is named "Submit"