{"repo":"surveyjs/generate-forms-from-domain-models","free":true,"listed":false,"github":"https://github.com/surveyjs/generate-forms-from-domain-models","clone":"git clone https://github.com/surveyjs/generate-forms-from-domain-models.git","description":"This example demonstrates how to generate forms in JSON format based on strongly-typed domain models and vice versa. Generated forms can be displayed by SurveyJS Form Library and edited in Survey Creator.","language":"C#","stars":16,"topics":["domain-models","forms","no-code","surveyjs","surveys"],"license":null,"category":"workflow-automation","readme_excerpt":"Generate Forms for Domain Models and Edit the Forms in a No-code Visual Editor This example demonstrates how to generate forms in JSON format based on strongly-typed domain models and vice versa. Generated forms can be displayed by SurveyJS Form Library and edited in Survey Creator. This solution will be beneficial for content and product managers who regularly create forms and for backend developers who implement domain models based on these forms. This application was built using ASP.NET Core. Follow the same instructions if you need to implement this functionality with any other server-side framework. - Domain Models and Attributes - Generate Form JSON Schemas from Server-Side Domain Models - Display a Form - Edit JSON Schemas - Generate Domain Model Code Based on Form JSON Schemas Domain Models and Attributes Domain models are declared in server-side code. You can generate form JSON schemas based on them. Domain model properties become form fields. You can then feed the JSON schemas into SurveyJS Form Library to display a form on your website or in your application. This project contains three sample domain models; each describes an individual form: - JobApplication - NPSSurvey - PatientAssessment A domain model and its properties can include attributes. A form generator uses attribute parameters to generate form JSON schemas. For instance, all domain models have the DomainModelForm attribute shown below. Its parameters configure a form's name and title properties. A form","default_branch":null,"files":null,"tree":[],"storefront":"/r/surveyjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/surveyjs/generate-forms-from-domain-models/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}