Question T10656
Visible to All Users

popup question

created 3 years ago

Is there a way to have a modal popup with one question inside?

let's say there is a question with yes or no and when the user clicks yes there is second question inside modal stating
are you sure? with yes or no.

Comments (2)

    Hello Moose,
    Would you please elaborate on your usage scenario? Do you wish to implement a kind of a confirmation dialog to allow users proceed to submitting other answers or to completing the questionnaire? I would appreciate it if you share some details and screenshots with the desired result.

    Thank you

      https://plnkr.co/edit/YaCNojQFUKxT1mLJ?preview

      Hello, let's say

      Clipboard-File-1.png

      the user inputs 1% on 2nd question, can a confirmation dialog (preferably a modal) indicating
      "You input 1 or 1%. Is that correct?" with Yes or no button

      Clipboard-File-2.png

      Answers

      created 3 years ago

      Hello,
      Are you looking for this functionality?
      You will need to use onValueChanging for ordinary questions.

      Thank you,
      Andrew
      SurveyJS Team

        Comments (2)

          Yes and one more question being

          Am I able to bind survey.nextPage() to the button behavior?
          Thank you!

            Hello Moose,
            Thank you for the confirmation.
            To process your recent inquiry in the best manner, I created a separate ticket on your behalf: T10691: Bind survey.nextPage() to the button behavior. We placed it in our processing queue and will process it shortly.