Question T10583
Visible to All Users

Modal popup button but on the individual choices

created 2 years ago

Clipboard-File-1.png
Clipboard-File-2.png

would it be possible to place more info button or any icon that will trigger modal to pop up on choices?
Thank you!

Show previous comments (1)

    Hello,

    Angular/Typescript

      Do you need it for SurveyJS Library only or do you need it to show in Creator (Preview) as well?

      Thank you,
      Andrew
      SurveyJS Team

        preferably both!

        Answers approved by surveyjs Support

        created 2 years ago (modified 2 years ago)

        Hello Moose,
        Thank you for the clarification.
        You can actually render a button which activates a popup for Checkbox items in the same way it's demonstrated by the Custom Render of Survey Elements demo. The main idea is to handle the onAfterRenderQuestion function, obtain the DOM element which renders a checkbox item and append a new button HTML element.

        Another option is to implement a custom widget, similar to pretty-checkbox.js and add a button which activates the popup.

        For the record: we are currently working on Angular rendering for Survey Creator V2. This would allow customers to implement custom rendering for survey elements, and Radiogroup/Checkbox items too with less coding.

        I hope this information will be of value.
        Please feel free to contact us if you have follow-up questions.

        Thank you,
        Jane
        SurveyJS Team