Question T5379
Visible to All Users

Unique customer id

created 4 years ago

My project survey is using unique number is given to customer before starting.
I want customer to enter this unique number in first page , and my survey will check when I click start.
This unique number is saved in Database.

Comments (1)

    Hello,

    And what is your question?

    Thanks, Alex
    SurveyJS Team

    Answers approved by surveyjs Support

    created 4 years ago

    Hello,
    If the question is how to validate the answer on the server then we have two options:

    1. survey.onServerValidateQuestions event. Here is the example.
    2. register async custom function and use it in an expression validator. Here is the example.

    Thank you,
    Andrew
    SurveyJS Team