Question T8110
Visible to All Users

how to get the custom components json to pass backend?

created 3 years ago

how to get the custom components json to pass backend?
currently i am getting only name and type while creating?

Comments (2)

    Hello,

    Could you explain - what do you want to achieve? SurveyJS products are client-side JavaScript libraries and I don't understand - what backend you are talking about.

    Thanks, Serge
    SurveyJS Team

      Hi,
      Clipboard-File-1.png
      I have added one custom component which have multiple questions
      When i save survey i am getting on custom component type and and name in json
      Clipboard-File-2.png
      i want the full json which should have all the questions which are inside this component
      Because i need to my server

      Answers approved by surveyjs Support

      created 3 years ago

      Hello,

      Inner component questions are not stored in survey JSON due to the component structure is known from it declaration.

      Here is the working sample on our site - https://surveyjs.io/Examples/Survey-Creator?id=component-ordertable&theme=default
      And the corresponding plunker sample - https://plnkr.co/edit/XMtzIwEnu9L7Qs1B

      Thanks, Serge
      SurveyJS Team