Question T8412
Visible to All Users

Scrolling past questions with a long description

created 3 years ago

Hey, I have a question with a very long description (more then one screen length). Whenever the user clicks anywhere on that description, the screen scrolls down past the description to the responses field. Is there any way to disable this scrolling on the question?

Thank you.

Answers approved by surveyjs Support

created 3 years ago

Hello Leif,
We focus the question input on clicking title or description, that is why it is scroll. We can take a look how to disable it or I would suggest you do not show the large description all the time, but show/hide it by a button.
Here is the example.

Thank you,
Andrew
SurveyJS Team

    Comments (2)

      Unfortunately in this case the long description is a consent form (and the input field is an 'I accept' box), which I'm not really allowed to shorten.

      (If there's a better way to have an 'I accept' checkbox question then that would be fine. I tried moving the consent text to another (html only) question entirely, but then the styling of the consent text and the 'I Accept' box is different.)

        Probably you can use html question for this long description and then you checkbox/boolean question with a hidden question title. Will it work?

        Thank you,
        Andrew
        SurveyJS Team