Speed up widget development with Sitefinity MCP server. Learn more...

Create and design multipage forms

Overview

Before displaying a multipage form on your pages using the Form widget, you must first create it, design its layout, and create its content. You do this via the Forms module as described below.

Create a multipage form

You create and configure multipage forms on the Forms page.

  1. If you have multiple sites, use the dropdown menu in the upper left of the page to select the site where you want to create forms. 
    For more information, see Multisite.
  2. In your Sitefinity CMS backend, navigate to Content » Forms.
    The Forms page opens.
  3. On the Forms page, click Create a form.
    The Create a form page opens.
  4. In Form title, enter the name of your multipage form.
  5. In Web framework, select the relevant mode: ASP.NET Core or NextJS.
  6. In Name used in code (for developers), you can change the automatically generated name for developers by clicking Edit (Edit) and entering a new name in the input field.
  7. To proceed with designing the form layout, click Create.

Create the layout

You design the layout of a multipage form using the Form page and Form navigation widgets.

To do this, perform the following:

  1. Open an ASP.NET Core / Next.js form for editing.
  2. In the page editor, click Add widget here…
    The widget selector opens in the right pane.
  3. Click the Layout tab.
  4. Click the Form page widget to place it in the form body.
    The widget splits the multipage form logically into different pages.
    For information how to use this widget, see Configure multipage form widgets » Form page.
  5. Click the Form navigation widget to place it in the form body.
    The widget displays a label for every form page. In addition, when a user navigates between the different form pages, the Form navigation widget indicates the currently active form page/step and marks the completed steps.
    For information how to use this widget, see Configure multipage form widgets » Form navigation.

Create the content

After you have designed the layout of your multipage form, you can proceed by adding form widgets from the Content tab - such as Textbox, Checkboxes, Multiple choice, Dynamic list, and so on.

You first place the form widgets inside a Form page widget and then you configure them.

Place a widget in a multipage form

You can place a form widget only inside a Form page widget.
To do this, perform the following:

  1. Inside the selected Form page widget, click Add widget here…
  2. Select the Content tab.
  3. Click the respective widget.
    The chosen widget is placed inside the currently selected Form page widget.

Configure a form widget

To configure a form widget placed inside the Form page widget, perform the following:

  1. In the page editor, hover over the widget.
  2. Click the toggle menu in the widget label.
  3. Click DotNetCore8 (Edit).

Configure each form widget by following the respective procedure included in Create and design forms (ASP.NET Core) or Create and design forms (Next.js).

NEW TO SITEFINITY?

Want to learn more?

Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.

Get started with Integration Hub | Sitefinity Cloud

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 your 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 ASP.NET Core and take advantage of its decoupled architecture and modern development model.

Tags

ASP.NET Core Next.js

Was this article helpful?