Hi Everyone,
I have a very long survey and we would allow the user to move between the different survey pages even if there are required questions not answered. Then I want to validate all the questions at the end of the survey before the final submission.
I found this very useful old ticket: Moving between pages without validation
from which I discovered the possibility to set this property:
Codethis.model.ignoreValidation = true;
Thanks to this property I was able to allow the navigation between the different pages but now I have an issue. Because of the ignoreValidation now the Survey stopped to validate the questions.
Is there a way to allow the user to move between the different pages but keeping the validation rules/messages, ex. the fact that a required field becomes red, or that a numeric field cannot be filled with chars etc.
I was thinking to simply override the default next button behavior, or should I implement a custom navigation buttons as described here ? (The Angular example has not been implemented)
Another possibility I was thinking, is to disable the ignoreValidation flag when the user arrives to the complete button. But then I will have again the navigation problem.
Hoping my requirements are clear, do you have any suggestions?
Cheers,
Paolo