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 added the Textbox form widget in your form and opened its settings, 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.
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, 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 – Not a valid email format!
You can change the automatically generated name for developers of this textbox 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 textbox 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.
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