Create forms

Overview

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: 

  1. In your Renderer application, you must have installed and referenced the following package:
    Progress.Sitefinity.AspNetCore.FormWidgets.nupkg
  2. Open the Program.cs file of your Renderer.
  3. In the usings, add the following namespace:
    using Progress.Sitefinity.AspNetCore.FormWidgets;
  4. Add the following:
    builder.Services.AddFormViewComponentModels();
  5. Save and close the Program.cs.

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.

Form rules

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.

Form notifications

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.

Display forms

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.

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?

Next article

Develop with .NET Core