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 6 (51 items) < Previous 1 2 3 4 5 Next > ... Last » Re: Print from button on form - JScript code - WSH sendkeys The problem with using thisXDocument.PrintOut(); in jscript is that it didn't bring up a dialog window. Haven't tried it in IP2007 and in C#. The "WshShell.SendKeys("^(p)")" does seem to work. Whata know. I've been searching for a clean solution for this for over a year. And here it its. Thanks! Posted to Code (Forum) by admot on 01-14-2009 Changing size of message box (XDocument.UI.alert) When I use the XDocument.UI.alert() command, the boxes seem to be very large even when there is simple, small text. Is there anyway to change its size (automatically,manually) so it fits the size of the message? Posted to Code (Forum) by admot on 01-13-2009 Re: Updating an element right before submitting I believe I found a way. Just use try/catch. I also had to turn off the default message via Submitting Forms\Submit Options. Strange that it shows an error if the person cancels but so be it. try { XDocument.DataAdapters["SubmitviaEmail"].Submit(); XDocument.UI.Alert("The form was submitted ... Posted to Newbie Questions (Forum) by admot on 01-13-2009 Re: Updating an element right before submitting [quote user="warrtalon"] Do you need to use code for this? It's a built-in feature with a checkbox on the Browser tab of the Form Options menu. If your form is not browser-enabled, I would think you could add a Refresh rule to your Submit "button" that refreshes any or all data connections before the ... Posted to Newbie Questions (Forum) by admot on 01-13-2009 Updating an element right before submitting I would like to update an element right before the person uses the Submit button used in Tools\Submitting forms. I figured I'd use OnSubmitRequest. function XDocument::OnSubmitRequest(eventObj) { XDocument.DOM.selectSingleNode("my:...").text = XDocument.Errors.Count; } But for some reason, it doesn't update ... Posted to Newbie Questions (Forum) by admot on 01-08-2009 Re: Deploying InfoPath Forms: Best Practices Have you tried placing the forms into sub folders? You can then set permissions based on the sub-folders and place the respective forms in these folders. Posted to Newbie Questions (Forum) by admot on 09-15-2008 Re: Infopath needed in sharepoint InfoPath is required especially if they are opening a new form from SharePoint. There are ways to get around it. However, without Infopath, its a hack job and too complex for basic users. 1) If they are opening an existing form (xml), then they may get away with some type of xml editor. 2) If they launch a brand new timesheet by double ... Posted to Newbie Questions (Forum) by admot on 09-15-2008 Hyperlinks don't work on a signed, full trusted form I have an InfoPath form that is set fully trusted and it is signed. This form contains hyperlinks. For some reason, when one person takes the .xsn file and open a form, none of the hyperlinks work. When you click on it, nothing happens. For everyone else, the links work fine and have been for about 2 yrs now. I did a moderate check of the IE ... Posted to General (Forum) by admot on 09-15-2008 Odd Popup Appears after click "Preview" InfoPath 2003: On occasion, when I am in design mode of an xsn template and click Preview, a pop-up appears containing the message below. The form you are opening requires a new version of the form template. To upgrade the form template, please close all the forms based on the form template and then open this one again. To Open the current form ... Posted to General (Forum) by admot on 09-04-2008 Re: jscript FolderExists only go one level and alternative to ActiveX control Yep. That did it! I thought I tried that before and it didn't work. Seems to work now. I decided to use the FileExits and it works ok now as well. Thanks! BTW: I also figured out why the ActiveX popup appears. It's because I am in Preview Mode, which has limited trust. Since my template is Fully trused, the popup ... Posted to Code (Forum) by admot on 06-02-2008 Page 2 of 6 (51 items) < Previous 1 2 3 4 5 Next > ... Last » Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.