I am making an API call to validate an answer but on click of next the the validation has not been completed yet and it always says invalid field.How to go about I most probably want next to be disabled or unavailable until the validation is completed.
I am making an API call to validate an answer but on click of next the the validation has not been completed yet and it always says invalid field?
Answers approved by surveyjs Support
Hello,
Here is the example of the server-side validation - https://surveyjs.io/Examples/Library?id=validators-server&platform=jQuery&theme=modern#content-js
I hope it'll help.
Thanks, Serge
SurveyJS Team
The issue being that the custom validators run only when next is clicked so I cant disable that as well