Use our Google Custom Search for best site search results.
Browse by Tags
-
Hi, I have a form where it contains a start date and time, and an end date and time. I am trying to work out how long the task was open for based on working days and times... Monday to Friday 09:00 to 17:30. Does anyone know how i could calculate this using jscript code, or any other way? Manny Thanks...
-
Hilary, Brilliant! this will be a major enabler for us. It works in jscript with the following code:- function OpenNewFormandPassData::OnClick(eventObj) { var fred = Application.XDocuments.NewFromSolution("C:\\MyForm.xsn"); // Open new form var source = XDocument.DOM.selectSingleNode("...
-
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...
-
Hi all InfoPath users, I have been developing for the last couple of months a complex SharePoint site, which number of InfoPath libraries. Currently I am experiencing something very strange. I have a form document which is opened from the main form with the help of NewFromSolution. I copy some field...
-
I have a form that has to auto fill fields, Date and RFQ ( which is a number built from the current date and time ). On the creation of a new form, these both work perfectly. My problem is after a form has been filled and saved to Share Point, when it is re-opened, the feilds are updated to the current...
-
Hi, Using the below code i am trying to submit the infopath form in a form library in MOSS 2007. XDocument.DataAdapters["Data Connection Name"].Submit(); Here i am getting the error is "The form cannot be submitted to the following location : http://.... (site name/filename.xml) "...
-
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 all, I have to following problem considering a repeating table with the follwing of collumns: User Email Approve/Reject The collumn Approve/Reject consists of two radio buttons for approval or rejection. I want when a user selects one of the radio buttons, an automatic email notification to be send...
-
I'm new to InfoPath. Can someone post some sample code for submit. My immediate interest is in code to handle email submission. Or is there a way to view the code associated with a normal submit button? A normal submit button to an email address doesn't seem to generate any script code, or at...
-
I have created a Time Sheet form. When I click on the datepicker to select the beginning date of the week (which is Sunday), I want that date to be place in the first row of the repeating table. When I reference the field which is (XDocument.DOM.selectSingleNode("/my:myFields/my:MainSelectionWeekOf"...