Back to Jsoneditor

Asynchronous custom validation

examples/19_custom_validation_async.html

10.4.3315 B
Original Source

Asynchronous custom validation

This example demonstrates how to run asynchronous custom validation on a JSON object. The names are checked asynchronously and the results "come in" half a second later. Known names in this example are 'Joe', 'Harry', 'Megan'. For other names, a validation error will be displayed.