How to launch new browser window upon form submit? - InfoPath Dev
in

InfoPath Dev

How to launch new browser window upon form submit?

Last post 03-11-2010 06:32 AM by lday8. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 04-09-2007 11:30 AM

    • jdogan
    • Not Ranked
    • Joined on 01-15-2007
    • USA
    • Posts 9

    How to launch new browser window upon form submit?

    I would like to know if, using a browser-enabled form template, there is any way to launch a new browser window pointing to a URL upon form submit. I am fairly familiar with using custom code during form submission, but thus far I haven't found anything addressing this issue.

    Thanks for any feedback!
    Jason
  • 04-09-2007 08:51 PM In reply to

    Re: How to launch new browser window upon form submit?

    Hi Jason,
    Have you tried just switching to another view and displaying the URL for the submitted form?
    Patrick Halstead
    Project Manager at Qdabra
  • 04-10-2007 02:33 AM In reply to

    • stzanev
    • Not Ranked
    • Joined on 02-28-2007
    • Bulgaria
    • Posts 13

    Re: How to launch new browser window upon form submit?

    Hi Jason,

    I have not used browser enabled forms but if you have a managed code template in .NET you can call Process.Start("IExplore.exe"); in the OnSubmit() event handler. This would require your template to be fully trusted though, I don't know if this fits your requirements.

    Stefan
  • 03-11-2010 06:32 AM In reply to

    • lday8
    • Not Ranked
    • Joined on 06-10-2009
    • Posts 4

    Re: How to launch new browser window upon form submit?

    Hi Stefan,

    It is not possible to run the Process.Start() within a browser enabled form as it will try and run this on the server where the processing is happening.  Do you know of any way (preferably in C#) that a forms based form can forward / redirect the user to another page?

    Cheers,

    Luke 

     

Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.