surveyjs / survey-creator

Scalable open-source survey software to generate dynamic JSON-driven forms within your JavaScript application. The form builder features a drag-and-drop UI, CSS Theme Editor, and GUI for conditional logic and form branching.
https://surveyjs.io/open-source
Other
923 stars 377 forks source link

Using web-components on Survey Creator #5580

Closed kasar-NTT closed 5 months ago

kasar-NTT commented 5 months ago

Are you requesting a feature, reporting a bug or asking a question?

Question

Is it possible on SurveyJs to have totally custom made web-components on the form creator? For example, instead of having your dropdown to have a my web-component, e.g. . That means, on the left side when Designing a new Survey, i could see my custom web-components. And the output of this survey, will produce a JSON where it will describe my custom web-components as well.

Best regards, Kostas

JaneSjs commented 5 months ago

Hello @kasar-NTT, Yes, it's totaly possible. You can register a custom question model, implement a React/Angular/Vue component, register this component as a question's renderer and use it within a SurveyJS Creator and Form Library. For more information, please refer to our documentation:

Online demos are also available here:

Drop me a line if you have more questions.

P.S. Note that SurveyJS Creator is a commercial developer product.