Question T2647
Visible to All Users

Dynamic Panels Summary

created 5 years ago

Is there a simple method to do the following:

  • user selects add new panel
  • collapse current panel
  • display collapsed panel header with summary of data from form in collapsed panel
  • show new panel

Its mainly having a simple way to display a summary of the form data in the collapsed panel I am interested in.

Answers approved by surveyjs Support

created 5 years ago

Hello,

I believe this can be achieved programmatically via API:
subscribe the onDynamicPanelAdded event
set the state property of the current panel collapsed
update the title property of the collapsed model with the new info

Thanks, Serge
SurveyJS Team

    Comments (2)

      Someone mentioned before, but to reiterate, would be nice if I could put some markdown or markup in title or description. Had stumbled upon the idea on putting that text in description but I am going to have to create a renderer for it either way to add line breaks.

      Any ideas on that? planning to use a custom render for it now

        Hello,

        You may use HTML/Markdown markup for this

        Thanks, Alex
        SurveyJS Team