hub.eb?material_id=77

Immediate validation


In the previous tutorial, we associated a validation event with a field and demonstrated that the event will only fire when the application page is submitted to the Verj.io Server. 

It is often the case that you would like your validation events to fire immediately whenever you change the value of a field. Verj.io provides an Immediate Validation option that enables you to do this. 

If you haven't already, complete the Validation Events tutorial as we will be using the same elements. 

Steps


1

Open the form from the previous tutorial, select your field on the page, and in the right-hand Properties panel check Immediate Validation.

2

Associate your myValidation script with the field's On Change event.

Save  and run your form  

3

Now change the value of your field, click anywhere else on the page and notice that the error message appears immediately next to the field.

Related