Hello,
Is there a way to disable to button until the answers are filled, or a class to detect if the button is 'active', to trigger some actions?
thanks
Giu
Disable button if required not compiled
created 6 years ago
(modified 6 years ago)
Answers approved by surveyjs Support
Hello,
Additionally to Dmitry suggestion. Here is the example of custom navigation: https://surveyjs.io/Examples/Library/?id=survey-customnavigation. You may hide default navigation buttons and display your own as you wish.
Thank you,
Andrew
SurveyJS Team
Hello! Could you please describe your use case in greater details?
For example you can use validations to prevent completing the survey or going to the next page https://surveyjs.io/Examples/Library/?id=validators-standard&platform=jQuery&theme=default
Or you can use
onValueChanged
event to do something what you need https://surveyjs.io/Documentation/Library/?id=surveymodel#onValueChangedI have a single page Survey, 2 RadioButton questions (each with 3 answers possible), a Confirm button.
I would like to detect when the questions are properly filled to trigger a redirection when the button is clicked, only if the questions are filled obviously.
I'll check the documentation, thanks!