Show exception message on form submission - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

Show exception message on form submission

Last post 04-28-2010 11:10 AM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-27-2010 08:00 AM

    Show exception message on form submission

     Hi All,

    I have developed one infopath form having data connection with WebService. When I submit data it shows me message that form was submitted. This is the default message of InfoPath.

    Now when the web service throw any exception I want to show exception message in the message box instead of that default message. I have thrown the exception, in this case the message box shows extra button "Show Details>>" in this details box, it shows me the message thrown by web service.

    Is there any way to directly show the message in message box. In this case we can not use Submit Option > Advanced > Use Custom Messages. as we can not show exact exception message every time.

    Looking forward to your kind reply.

    Thanks in Adv.

  • 04-28-2010 11:10 AM In reply to

    Re: Show exception message on form submission

    Hi nthaka1,

    You could return the exception information from the Web service in an error parameter and if that parameter is not blank, you could assume it's an error and display it in the form or in a message box.

    Hope that is semi-helpful. Sorry I can't solve world hunger,


    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.