Paragraph

Overview

Use this widget to give the user the opportunity to enter free text longer than one line, such as customer feedback.

After you have added the Paragraph form widget in your form and opened its settings, the Paragraph window appears, displaying the following sections:

Labels and content

In this section, perform the following:

  1. In the Label input field, enter the label of the paragraph box.
    For example, Feedback or Comments
  2. If needed, in Instructional text, enter instructions or explanatory text for the paragraph box.
    The text is displayed bellow the paragraph box.
  3. Optionally, in Placeholder text, you can enter some text to facilitate the user in filling out the field.
    For example, you can enter Type your feedback here…. This text is only a guidance for the user and is not submitted with the form response, if the user does not change it.
  4. Optionally, in Predefined value, you can enter a predefined value for the paragraph box that is displayed in the box by default and the user can change it.
    If the user does not change the predefined value, it is submitted with the form response.
  5. If you want to make the paragraph box mandatory, select the Required field checkbox
    A textbox appears, where you enter the error message that is displayed, if the user does not fill out the paragraph box.
  6. If you want this field to be visible in the form only when certain conditions are met, select Hide field initially checkbox.
    You can then use form ruled to display the field. For more information, see Form rules.

Limitations

In this section, perform the following:

  1. In Range input fields, enter the minimum and maximum number of characters that a user can enter in the paragraph box.
    If you do not want to impose limits to the paragraph box, leave the Max input field empty and the Min input field empty.
  2. Enter an error message that is displayed, if the user enters less than or more than the defined limits.

Display settings

In this section, perform the following:

  1. In Template dropdown, you can select a template other than the default one that will be used to display the paragraph box on the website.
    You must first have created a custom template.
    For more information, see ASP.NET Core pages and templates.
  2. In Field size, you can choose the size of the input field.
    Choose from the predefined values of none, small, medium, or large.
  3. Save your changes.

Advanced widget settings

To open the advanced settings, in the upper-right corner of the Paragraph widget page, click DotNetCore11 (Advanced settings).

Apply custom CSS

In CSS class input field, you can choose a class name for the paragraph box, if later you want to set a CSS style for this particular paragraph box.

Developer name

You can change the automatically generated name for developers of this paragraph box field by and entering the new name in the input field that appears.
This is the name of the field that is used by developers to refer to this paragraph box field in the code.

Save your changes


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

Submit button