Display User Friendly Error Messages in K2 SmartForms

When developing K2 SmartForms, most developers tend not to implement user friendly messages. In this blog, we will go through step-by-step how to implement error handling that results in a  user-friendly K2 error message being displayed to the users when an error is raised.  The method for doing this in K2 SmartForms is similar to how we do it for conventional .NET applications.

Let’s see how to implement this.

 

Registration is required to view the full article. Click here to register FREE…

 

The screenshot below shows an example implementation with each of the steps to follow to implement error handling in K2 SmartForms that displays user-friendly messages upon the “If an error occurred” SmartForm condition:

 

STEP 1

First, use the “If an error occurred” condition to catch the error and then transfer the error message to the form/view parameter.

 

STEP 2

We must use the action “continue to next execution” otherwise the rule will stop executing after transferring the error message to the parameter.

Please login or register to access the full article.

You may also like

Please complete the below form and a member of the Velocity IT team will call you back.