Every WordPress form starts with text. Names, subjects, company titles, coupon codes, usernames — single-line text fields are the most common input on any contact form, registration form, or survey. You need a way to add them quickly, configure validation, and publish without writing HTML or PHP. Auto Form Builder includes a Text Input field in the Basic category of the drag-and-drop form builder. Add as many text fields as you need, set placeholders and character limits, enable password masking or text transformation, and publish with a shortcode or embed code — all free, no coding required. Last updated: Last update 11 August The Text Input field is a single-line text box for short answers — one row, one value. It is listed under the Basic field category alongside Text Area, Email, Phone, Number, Date, and Time. Use a Text Input when you need: For longer multi-line answers, use the separate Text Area field. For email addresses and phone numbers, the dedicated Email and Phone field types include specialized validation and formatting. In your WordPress admin, go to Auto Form Builder → All Forms, then open an existing form or click Create New Form. From the field palette on the left, find Text Input under the Basic category. Drag it onto the form canvas. The field appears with a default label — click it to open settings on the right. Under base field settings, enter a clear Field Label (e.g., Company Name or Subject). Set Placeholder Text to guide visitors before they type — for example, Enter your company name. The Field Name is auto-generated from the label for form data submission. You can customize it if needed for webhooks or integrations. Choose Field Width — Full Width, Half Width, One Third, or Two Thirds — to control layout. Enable Required Field if the text field must be filled before submission. Scroll to Text Field Options to configure character limits, validation, password mode, text transform, and more (detailed below). Click Save Form, use the built-in preview (desktop, tablet, mobile) to test the field, then copy the shortcode or embed code from the Forms screen and place the form on any page or external site. Auto Form Builder splits settings into base options (all fields) and text-specific options. Set character limits under Text Field Options. The browser enforces the maximum while typing, and both limits are validated on the server when the form is submitted. Use minimum length to prevent one-word answers on important fields. Pre-fill the field when the form loads — useful for edit forms, UTM tracking values combined with hidden fields, or showing a suggested default. Enable Password Field to mask input with dots. Ideal for access codes, registration passwords, or any sensitive single-line value. Password mode disables conflicting settings like Input Type and Text Transform. Enable Trim Whitespace to strip leading and trailing spaces before the value is validated and stored — preventing accidental spaces from breaking validation or matching. Enable Hidden Field to pass a value with the submission without showing the input to visitors. Set the Hidden Value in the field settings. Hidden fields conflict with Password Field mode. Apply format rules from the Validation dropdown: For dedicated email collection, the Email field type is recommended over text with email validation — it includes built-in email-specific handling. Control browser behavior and mobile keyboard layout: Automatically format submitted text: Transformation applies as users type and again on the server when the form is submitted. Disabled when Password Field mode is enabled. Text fields are validated at multiple levels: This dual-layer approach keeps text data clean whether the form runs on your WordPress site or as an embedded form on an external website. Choose Text Input for general single-line text. Switch to a specialized field type when the data type needs dedicated handling. Every text field supports free conditional logic. Show a Company Name text field only when a dropdown selection is Business, or reveal a Please specify text field when a radio option is Other. Rules evaluate in real time as visitors change their answers. Forms embedded on non-WordPress sites use the same text field behavior — validation, character limits, password masking, text transform, and conditional logic. Whether placed via shortcode or embed code, text fields work identically everywhere. Text Input fields with validation, character limits, password mode, text transform, and conditional logic are included in the free plugin — the same plugin that gives you submission management, form styling, spam protection, and webhooks at no cost. Install it from the official WordPress.org directory: https://wordpress.org/plugins/auto-form-builder/ Last updated: Last update 11 August Auto Form Builder lets you create multi-step forms, calculators, and lead capture forms in WordPress, then embed them on any site with a single line of code. Open your form in Auto Form Builder, drag the Text Input field from the Basic category onto the canvas, configure the label and placeholder, and save the form. Publish with the shortcode or embed code. Yes. Set Minimum Length and Maximum Length under Text Field Options. Limits are enforced in the browser and validated on the server on every submission. Yes. Enable Password Field on a Text Input field to mask input with dots. Combine with minimum and maximum length for password size requirements. Yes. Set Validation to Custom Pattern and enter your regex in the Custom Pattern field. Preset options for email, URL, letters, numbers, and alphanumeric are also available. Text Input is a single-line field for short answers. Text Area is a multi-line field for longer responses like messages and descriptions. Both support character limits and conditional logic. Yes. Set Text Transform to UPPERCASE, lowercase, Capitalize First Letter, or Title Case under Text Field Options. Formatting applies on input and on submission. Yes. Enable Hidden Field on a Text Input and set the Hidden Value. The field is not visible to visitors but its value is included in the submission. Yes. Text Input fields with all validation and formatting options are included in the free Auto Form Builder plugin on WordPress.org.How to Add Text Fields to WordPress Forms
What Is a Text Field in Auto Form Builder?
How to Add a Text Field to Your Form
Step 1: Open the Form Builder
Step 2: Drag the Text Input Field
Step 3: Configure the Label and Placeholder
Step 4: Set Width and Required Status
Step 5: Add Text Field Options (Optional)
Step 6: Save, Preview, and Publish
Text Field Settings Explained
Base Field Settings
Minimum and Maximum Length
Default Value
Password Field
Trim Whitespace
Hidden Field
Validation
Input Type
Text Transform
Validation on the Frontend and Server
minlength, maxlength, and required enforce basic rules in the browserPractical Text Field Examples
Contact Form Subject Line
Coupon or Promo Code
City or Department Name
Registration Password
UTM Source (Hidden)
Text Field vs. Text Area vs. Specialized Fields
Combine Text Fields with Conditional Logic
Text Fields on Embedded Forms
Download Auto Form Builder — Free Text Fields
Build forms that embed anywhere — free
Frequently Asked Questions
How do I add a text field to a WordPress form?
Can I set character limits on text fields?
Can I add a password field to my form?
Can I validate text with a custom regex pattern?
What is the difference between Text Input and Text Area?
Can I auto-format text as uppercase or lowercase?
Can I hide a text field and pass a value silently?
Are text fields free in Auto Form Builder?
Table of Contents
Table of Contents
Learn how to bulk delete form submissions in WordPress. Remove multiple entries at once to clean up spam, test data, and old submissions efficiently.
Master WordPress form submission management. Learn to view, filter, search, star, export, and organize form entries like a pro with this complete guide.
Learn how to search and find form submissions in WordPress. Filter by date, form, status, and search across all submission data.
Learn how to set character limits on WordPress form fields. Configure minimum and maximum length validation for text fields and textareas.
Comparing Auto Form Builder and Contact Form 7 for WordPress. See which form plugin offers better ease of use, features, and value for your website.
Learn how to view, organize, search, filter, and export your WordPress form submissions. Complete guide to submission management.
Learn why storing form data on your own server helps with GDPR compliance. Choose form plugins that keep your user data local and under your control.
Learn how to filter WordPress form submissions by date. Find entries from specific time periods quickly using date range filters.
Should you use one field or multiple fields for names? Learn the pros and cons of each approach and how to set up name fields in WordPress.
Learn how to bulk edit, delete, and manage form submissions in WordPress. Save time with mass actions on multiple entries at once.
Learn how to restrict date fields to future dates only for event registration forms. Block past dates and set booking windows in WordPress.
Learn how to create quantity fields in WordPress forms. Collect numbers for guests, items, tickets, and more with proper validation and limits.