Create forms

Overview

With Sitefinity CMS ASP.NET Core Forms you can create rich interactive forms directly in your browser using the ASP.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 an ASP.NET Core form, your page layout must use an ASP.NET Core template. For more information, see ASP.NET Core pages and templates.

Setup the Renderer to use forms

To create ASP.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.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?

Next article

Develop with .NET Core