Question T1954
Visible to All Users

Hide already visible question.

created 6 years ago

Like visible if. I want to hide question on certain question result.

All question will visible and based on answer it will hide.

Is it possible ?

Plunker link: https://plnkr.co/edit/CogA87WsU3j8yOUVhwkt?p=preview

Comments (2)

    Hello,
    Sorry, I did not get what you trying to do.

    Thank you,
    Andrew
    SurveyJS Team

      Hi,

      I want just opposite of above example,

      Let say beginning of survey all questions will be visible and once he start giving survey based on his i will write a condition to hide few questions

      Regards,
      Babin

      Answers approved by surveyjs Support

      created 6 years ago

      You should create the expression you need: "{haveKids}='Yes' or {haveKids} empty"
      The corrected example

      Thank you,
      Andrew
      SurveyJS Team

        Comments (2)

          instead of {haveKids} empty is there a way to add condition.

          Let say if {haveKids} >= 1 than hide question 3

            Sorry, I do not understand what you trying to do.
            Anyway, visibleIf works pretty straightforward.
            On loading survey, all visibleIf expressions are executed and based on result true or false, a question becomes visible or invisible. Then visibleIf expression are executed on value change.
            So, if you visibleIf expression returns true initially, then the question will be visible on survey load. All you need, is to write the correct expression.

            Thank you,
            Andrew
            SurveyJS Team