Hi, I'm working to check is an survey dirty or not by using survey.onValueChanged, but there is a problem that onValueChanged will be called even with the default Value. Is there any way for this?
Thank you.
Check dirty survey
Show previous comments
(0)
Comments
(0)
Sign in to comment on this post
Answers approved by surveyjs Support
Hello,
You can check whether new value is equal to the default value in your onValueChanged
event handler. Or iterate through all questions and check they are equal to the default values.
Thanks, Serge
SurveyJS Team