- Create a new form or edit an existing form
-
Click to add the field to the form or drag the field from the tools menu into position inside the form.
NEX-Forms Documentation
Documentation & Tutorials for NEX-Forms version 8.0 and above
Single line text fields in NEX-Forms are perfect for capturing concise pieces of information from users. These fields allow users to input a single line of text, making them ideal for collecting short answers such as names, email addresses, phone numbers, or brief comments. With customizable options like placeholder text and validation rules, single line text fields provide a seamless and efficient way to gather essential data while ensuring its accuracy.
- How to add a single line text field to a form
- Text field input settings
-
Text Field validation
-
Input Format
-
Other Validation Options
-
Input Masking
-
- Edit the field by hovering over it and then click on the Edit Icon which will bring up the field settings panel.
-
Click on the "INPUT" tab from the settings panel.
General text field setting definitions | ||
Setting | Definition | |
Input Name | Sets the name of the input field itself. By default when you enter a field's Main Label the Input Name will reflect that text in an input name format. IMPORTANT:
• One form can not have 2 or more fields with the same input names. • All input names in a single form needs to be unique. • An input field name can not be blank. TIP: If you need two or more fields to have the same label then you can edit these field's input names to be unique while still having the same labels for the fields.
NOTE: Reserved WordPress terms (parameters) like name, page, post, category, id will be prefixed with an underscore to avoid conflict, for example: name will become _name |
|
Input ID | Gives the Input an ID. Useful if you need to tager fields by thier id's from 3rd party scripts or CSS (Cascading Style Sheets) | |
Setting | Definition | Example |
Input Placeholder | Sets the input's placeholder text - Placeholder text is displayed inside the input field when it is empty and not focused, serving as a temporary label or prompt for users. Once the user starts typing or focuses on the input field, the placeholder text disappears, making way for the user's input. See example field to the right with placeholder Email Address |
|
Disabled | ||
Sets the field enabled - The field is made editable to the user. | ||
Sets the field to be "Disabled" - The field is made uneditable to the user. |
|
Default value & input styling definitions | ||
Setting | Definition | Example |
Default Value | Sets the field default value. For example, give you user a head start for entering a website's address by giving the field a default value of https:// | |
(bold) | If active sets the input text to bold | |
(Italic) | If active sets the input text to italic | |
(Underline) | If active sets the input text underlined | |
Font Size | Sets the font size of the input text | |
TX (Text color) | Sets the input field's text color | |
BG (Background color) | Sets the input field's background color | |
BRD (Border width and color) | Sets the input field's border width (size) and border color | |
(Align Text Left) | If active aligns the text to the left inside the input field | |
(Align Text Center) | If active aligns the text center inside the input field | |
(Align Text Right) | If active aligns the text to the right inside the input field | |
Input Size | ||
Small - Sets the input field size to small | ||
Normal - Sets the input field size to normal size | ||
Large - Sets the input field size to large | ||
Corners | ||
Squared - Sets the input field's corners square | ||
Rounded - Sets the input field's corners rounded | ||
Pilled - Sets the input field's corners fully rounded (pilled) |
- Edit the text field by hovering over it and then click on the Edit Icon which will bring up the field settings panel.
-
Click on the "VALIDATION" tab from the settings panel.
Validate As Option Definitions | ||
Validation Type | Definition | Example |
Any Format | Allows the user to enter anything into the text field. | |
Ensures the user inputs a valid email address format (e.g., user@example.com). | ||
URL | Ensures the user inputs a valid web address format (e.g., http://example.com). | |
Phone Number | Ensures the user inputs a valid phone number format. | |
Numbers Only | Ensures the user inputs only numeric values. | |
Text Only | Ensures the user inputs alphabetical characters only, typically used for standard text fields without specific format requirements. |
Other Text Field Validation Option Definitions | ||
Option | Definition | Example |
Secondary Error Message | The secondary error message referes to the msssage displayed if a user does not enter the correct validation format. For example if you have a field set to be validated as an email address then you can set your secondary message to be something like "Invalid Email Address" if the user fails to input the correct format. | |
Maximum Characters | Restricts the number of characters that can be entered into a text field. Once the user reaches the specified character limit, they will not be able to input any more characters into that field. NOTE: Leave this setting empty for no limits.
|
|
Minimum Characters | Sets the minimum number of characters a user must input into a text field for the form to be submitted successfully. This feature is useful for ensuring that users provide sufficient information, especially for fields where brief or incomplete responses would be inadequate. NOTE: Leave this setting empty for no limits. |
Input Mask Examples | |
An input mask defines the allowed characters and their positions in the input field. Common symbols used in input masks include: 0 = Numbers 0-9 S = Alphabetic A-Z a-z A = Alphanomeric 0-9 A-Z a-z Special characters like -, /, and ( are used as literal characters that the user must input. |
|
Pattern | Mask Example |
License key: AAAA-AAAA-AAAA-AAAA |
|
Date: 00/00/0000 |
|
Time: 00:00:00 |
|
IP Address: 099.099.099.099 |