Infopath browser development - InfoPath Dev Sign in | Join | Help in Code InfoPath (Entire Site) 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 InfoPath Dev » InfoPath » Code » Infopath browser development Infopath browser development Last post 07-08-2010 05:57 AM by mgarant. 3 replies. Page 1 of 1 (4 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 07-07-2010 01:13 AM swatiagarwal Joined on 07-07-2010 Posts 2 Infopath browser development Reply Contact Hi I have a browser based infopath form and have the following code to submit the form DataConnection spConn = DataConnections["SubmitDC"]; spConn.Execute(); This is working successfully. But it does not give a "success fully submitted" pop up confirmation box. Does any one know how we can get the confirmation message pop up programmatically. As an alternate to pop up box, I am setting the message in a label on form and again execute connection. Thanks Filed under: data connection, infopath, submit, browser enabled form, confirmation 07-07-2010 06:01 AM In reply to mgarant Joined on 05-18-2010 Posts 93 Re: Infopath browser development Mark as Not AnswerMark as Answer... Reply Contact Hello swatiagarwal, In the Tools --> Submit Options --> Advanced, have you checked "Show success and failure messages" ? 07-07-2010 08:37 PM In reply to swatiagarwal Joined on 07-07-2010 Posts 2 Re: Infopath browser development Mark as Not AnswerMark as Answer... Reply Contact Thanks for the reply. This solution wont work for me because I tried this and here is my finding-- It works if you are using the Form.Submit() in the code behind. This options "Tools --> Submit Options --> Advanced" does not work on spConn.execute() 07-08-2010 05:57 AM In reply to mgarant Joined on 05-18-2010 Posts 93 Re: Infopath browser development Mark as Not AnswerMark as Answer... Reply Contact That is strange because i'm using this all the time when I submit with code and it is working well... Maybe someone else has an idea why it is not working or how to do this another way? Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Hi
I have a browser based infopath form and have the following code to submit the form
DataConnection
spConn.Execute();
This is working successfully. But it does not give a "success fully submitted" pop up confirmation box. Does any one know how we can get the confirmation message pop up programmatically.
As an alternate to pop up box, I am setting the message in a label on form and again execute connection.
Thanks
Hello swatiagarwal,
In the Tools --> Submit Options --> Advanced, have you checked "Show success and failure messages" ?
Thanks for the reply. This solution wont work for me because I tried this and here is my finding--
It works if you are using the Form.Submit() in the code behind. This options "Tools --> Submit Options --> Advanced" does not work on spConn.execute()
That is strange because i'm using this all the time when I submit with code and it is working well... Maybe someone else has an idea why it is not working or how to do this another way?