With Sitefinity CMS .NET Core Forms you can create rich interactive forms directly in your browser using the .NET Core page editor.
You can prompt visitors to provide their contact details, complete a survey, fill out questionnaires, thus collecting information in an easy and streamlined manner. In addition, you can edit the form’s layout and structure without any code or HTML knowledge.
PREREQUISITES: To display a .NET Core form, your page layout must use a .NET Core template. For more information, see .NET Core pages and templates.
Setup the Renderer to use forms
To create .NET Core pages, configure the Renderer application in the following way:
- In your Renderer application, you must have installed and referenced the following package:
- Open the
Program.cs file of your Renderer.
- In the
usings, add the following namespace:
- Add the following:
- Save and close the
Create and design forms
You can utilize a wide array of form widgets, such as textbox, multiple choice, dropdown lists and rearrange and manage them to display default choices, implement limitations, instructional text, and so forth.
You use rule-based forms to collect information from the responders of the form and, based on their input, display different fields of the form.
For more information, see Form rules.
Once visitors fill out forms on your website, you can set up notifications, confirmation emails, and manage large volumes of form responses in the backend and frontend. In addition, you can export responses for further analysis and use.
For more information, see Setup sending emails for form responses.
Once you create a form in the backend, you place the form widget on the page and edit them to customize the form’s display and confirmation.
For more information, see Form widget.
Manage responses to forms
When you create and publish a form on the website, the users can fill it out and submit their answers. The responses you get to a form are visible in the backend and you can see them via the Forms page.
For more information, see Manage responses to forms.
Custom fields for forms
For more information about creating custom fields in forms, see the Custom form fields sample on Sitefinity GitHub repository.