Microsoft InfoPath Error Messages

J

jammam

I am using manage code to submit the form and to do handle data validation
and would like to suppress the Microsoft's error messages like "InfoPath
cannot submit the form. The onSubmitRequest event handler returned a value
indicating the submit failed." The message is not meaningful to the users
and we would like to replace this message with a more meaningful message.

We also receive an error message when the user tries to sign a section on
the form and all of the required fields are not filled in: "InfoPath cannot
add the signature." I alert the user what is missing in the section and
return a false status to the onsign event to prevent signing but we would
like to suppress the InfoPath message which is not meaningful to the user.

Is there a way to suppress the InfoPath error messages?

Thanks,
jammam
 
B

_bizon

Open the form in InfoPath; in Tools-->Submitting Forms, you have the ability
(assuming the Submit is enabled) to remove "Show message..." in Submit
Options (or replace with something meaningful)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top