Question T6715
Visible to All Users

Inform user that answer is missing with popup

created 4 years ago

Hello,

running a long survey, it means that when you click submit button, you don't have visibile in your screen, the first questions.
If you did not fill some required answers, then the system highlight it is red, but those are not visible, so the user actually has not advice of what is wrong, until it scrolls up.

Is there any callback I can use when user click on submit or show preview, to inform that some of the required answers are missing?

Thank you,
Michele

Answers approved by surveyjs Support

created 4 years ago

Hello Michele,
There is survey.focusOnFirstError property, it is true by default. Probably you have an old version or it doesn't work for you for some reason.

Thank you,
Andrew
SurveyJS Team