Use this widget to give the user the opportunity to enter free text no longer than a line, such as street address, e-mail, etc.
After you have dragged the Textbox form widget in your form, click the Edit button in the upper-right corner of the widget. The Textbox window appears, displaying the following sections:
In this section, perform the following:
To open the advanced settings, in the upper-right corner of the Textbox widget page, click (Advanced settings).
In CSS class input field, you can choose a class name for the textbox, if later you want to set a CSS style for this particular textbox.
Developer name is used to refer to the textbox field in the code, when submitting the form data to Sitefinity. It will be automatically generated, if left empty. Note that this value cannot be changed after the form is published.
Save your changes.
You can add validation of the user input in textboxes. For example, you can make required that the user enters an email address in a certain textbox.
To do this, in Regular expression validation pattern field, enter one of the following:
In Regular expression error message, you can enter a custom error message. For example, if you are validating that the user entered an email address, you can also enter a custom error message – for example, Invalid email format
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
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.
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.
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.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important