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 2 (16 items) < Previous 1 2 Re: InfoPath form on Submit! Open as an Outlook email Message Maybe I'm missing the point, but couldn't you just use the toolbar button in InfoPath? Posted to InfoPath 2010 (Forum) by HHearle on 03-27-2013 Re: Submit and Close Email Form I know I suggest this for everything but... SendKeys? This would close the window. { var WshShell = new ActiveXObject("WScript.Shell"); WshShell.SendKeys("%fx") } The sendkeys method works on the active window; I would assume that by switching to outlook as the active ... Posted to Code (Forum) by HHearle on 03-27-2013 Re: Using this.close() after submit Why not try sendkeys? var WshShell = new ActiveXObject("WScript.Shell"); WshShell.SendKeys("%fx") Since code alway runs after rules? This would close the whole program (but I think this is only Javascript- I presume this is what you are using) :p Posted to Code (Forum) by HHearle on 03-27-2013 Re: Automatic Submit and Close Or you could use SendKeys... you seem quite proficient with code judging from the above. Try { var WshShell = new ActiveXObject("WScript.Shell"); WshShell.SendKeys("%fx") } Again, a user would have to click something to do it but it would probably be better since you could incorporate it into an ... Posted to Code (Forum) by HHearle on 03-27-2013 Re: Field Visibility configuration in InfoPath designer 2010 based on SharePoint user groups Perhaps allow passwords... Create a textbox for username and passwords and set the conditional formatting to Username not equal to.... and list a load of usernames and then Password not equal to.... and the passwords. Then hide this control. Or, if you prefer, do username is equal to..... hide this control. I do this for some of ... Posted to General (Forum) by HHearle on 03-27-2013 Re: Automatic Submit and Close Why not just use a standard button? You can create the two rules, one to submit, and one to close the form. Or if you still want that insanely long code above, use that as the code and then have the rule to close it. Posted to Code (Forum) by HHearle on 03-26-2013 Page 2 of 2 (16 items) < Previous 1 2 Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.