OneSpan Sign Developer Community: Input Validation and Event Notifier

Haris Haidary,

In this blog, I will go over what you might have missed in the OneSpan Sign Developer Community during the week of December 18th, 2017. Hence, let's get straight to it.

Input Validation

When creating forms, you may want to ensure that valid entries are entered by your users. For example, as a life insurance broker, you will possibly want to contact your client in case of any changes in policies. For this, you will need your client to enter a valid phone number when filling out your form. By validating form data while the user is filling it out, the user can know immediately if they’ve made any mistakes or if they’ve left a required field empty. This saves you the time of having to deal with improper or empty form input. With OneSpan Sign, you can achieve this by creating field validators. A field validator enables you to require and restrict the range of acceptable values for an unbounded field. The link below is a guide on how to use field validators with the Java/.NET SDK, and REST API. Link to Guide

Event Notifier

When embedding OneSpan Sign’s Signing Ceremony in an iframe, you can use the Event Notifier to send notifications to your application. This is particularly useful if you want to take actions when certain steps of the Signing Ceremony have been accomplished. After receiving such a notification, you can interrupt OneSpan Sign’s normal flow to take some action. For example, when a signer declines a package, you can capture this event and take an action (e.g. redirect to a page in your application). Link to Post If you have questions regarding this blog or anything else concerning integrating OneSpan Sign into your application, visit the Developer Community Forums: That's it from me. Thank you for reading! If you found this post helpful, please share it on Facebook, Twitter, or LinkedIn.

Haris Haidary Technical Evangelist LinkedIn | Twitter [promotion id="15582"]