Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 2 of 3 (29 items) < Previous 1 2 3 Next > Looping through Data Source nodes I have a project where I want to loop through a group of data in my Main Datasource. The structure of my data is: Main myFields lables label1 ... Posted to Code (Forum) by skrile on 07-17-2007 Re: SharePoint list / InfoPath labels Woo Hoo. Played some more and got this working! var selectedNode = objTranslation.selectSingleNode("//dfs:myFields/dfs:dataFields/dfs:ThirdPartyEvent_Translations/@Translation[../@stringID = 'user_sectionhead' and ../@languageid = 'en']") And then the translation can be referenced ... Posted to SharePoint Integration (Forum) by skrile on 07-17-2007 Re: SharePoint list / InfoPath labels I've tried several version of that statement including: if (selectedNode.selectSingleNode("Translation") == null) and recieve the same Null error. I'm wondering whether the syntax for selectedNode is corret. Does it look correct to you? var selectedNode = ... Posted to SharePoint Integration (Forum) by skrile on 07-17-2007 SharePoint list / InfoPath labels I am currently working on a project for my company and am building an Infopath 2003 document that needs to be accessible by many languages around the world. Taking a page from my web design thinking, I was working toward a solution where the translations for my Infopath document would be stored in a Sharepoint list, accessed through a data ... Posted to SharePoint Integration (Forum) by skrile on 07-16-2007 Re: Scripting Promt to save And even cleaner (with window closing too!!!) Application.ActiveWindow.Close(false); Posted to Code (Forum) by skrile on 03-27-2007 Re: Scripting Promt to save And the answer is.... var oXmlHttp = new ActiveXObject(''MSXML2.XMLHTTP''); oXmlHttp.Open(''PUT'', XDocument.URI, false); Â oXmlHttp.Send(XDocument.DOM.xml); This of course only works when you are opening an existing form, but it works very nicely. Now, to get the window to close....hmmmmm Posted to Code (Forum) by skrile on 03-27-2007 Scripting Promt to save I know I can assign a rule to a button called ''Close this form: Prompt'' that will prompt the user to save the form if it's ''dirty'' and then closes the window. My question is, can I do the same thing from jscript. I don't have a managed code solution. The issue here is I want to build emails when the Save button is clicked so I would like to ... Posted to Code (Forum) by skrile on 03-27-2007 Re: HTML in email When I try to download this toolkit I get an error and it stops. I have InfoPath 2003 sp2 and Visual Studio 2005 installed on my machine. The error says I need InfoPath 2003 sp1 and Visual Studio 2003 installed. Am I just thick, or am I missing something ... Posted to Code (Forum) by skrile on 03-27-2007 Re: HTML in email Yeah, I tried that, function CTRL1_5::OnClick(eventObj) { var objMail = new MailMessage(); objMail.BodyFormat = System.Web.Mail.MailFormat.Html; objMail.From = ''from@address.ca''; objMail.To = ''to@address.ca''; objMail.Subject = ''Test Subject''; objMail.Body = ''<b>FROM:</b>'' + ''<font color=red>'' + ''Sample ... Posted to Code (Forum) by skrile on 03-27-2007 Re: HTML in email Hmmm... Can't seem to make the example over there work. I started a new InfoPath form and put one button on the page. I then put this code behind the button (onclick). function CTRL1_5::OnClick(eventObj) { MailMessage objMail = new MailMessage(); objMail.BodyFormat = System.Web.Mail.MailFormat.Html; objMail.From = ... Posted to Code (Forum) by skrile on 03-27-2007 Page 2 of 3 (29 items) < Previous 1 2 3 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.