How to handle error messages in Infopath form, when a List item add event is cancelled by a Sharepoint Event Receiver? I receive an error which isn't user friendly, I would like to display a user friendly message which provides the reason why the user action was cancelled (this information is provided by the event receiver).

  • Have you tried using rules and validation on your form fields to make sure information is correct before allowing them to submit the form? Mar 27 '14 at 20:03

It's not possible to send message from event receiver to InfoPath. But you can send email to user.


Instead of using SharePoint Event Receiver, write a Custom Web Service.. Call that service from InfoPath form, you will have the option to communicate between InfoPath form and Service (SharePoint in short)..

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.