special offer desktop
Estimated reading: 10 minutes 391 views

Bit Form – Textfield

The Text field allows users to enter plain text input, including lettersnumbers, and special characters. This field can only accept single-line input. Users can use it to collect information such as first namelast name, or city.

⚙ General Settings

1. Field Key

In Bit Form, every field has a special identifier known as a Field Key. This field key uniquely identifies a field, it also helps to send data via email, PDF, store database, and PHP action hook. These keys are important in Success/Error Messages, WebHooks, Redirect Pages, Email Templates, Workflows, and Integrations.

2. Name

The Name is an HTML equivalent input field’s name, you can customize it easily according to your preferences. You can easily modify it to suit your needs.

A field’s name is like a special label used when you submit a form. For example, let’s say the field name is “text-1-5”. In this case, ‘text’ tells us the type of field it is, ‘1’ refers to the form ID, and ‘5’ means it’s the fifth-number field on the form. This field name can be used for various purposes such as Fetch data from url parameter.

3. Field Label

You can set a proper name for the field that is considered a field label. This label name will appear on the front end of the form you will display. You can hide the field label if you want.

  1. Adding Leading and Trailing Icons: The leading and trailing icon option allows you to add a symbol or image at the beginning (leading) or end (trailing) of the field label. With Bit Form, you can access over 10,000 icons from various open-source libraries and upload a custom icon to suit your specific needs.

note-icon-bit-apps  Note

At Bit Form, we’re thrilled to provide you with a huge selection of over 10,000 icons from various open-source libraries.

4. Subtitle

The subtitle is an additional piece of text that appears below the label of a field in a form. It offers further clarification or context to help visitors understand the purpose of the field.

  1. Adding Leading and Trailing Icons: The leading and trailing icon option allows you to add a symbol or image at the beginning (leading) or end (trailing) of the subtitle. With Bit Form, you can access over 10,000 icons from various open-source libraries and upload a custom icon to suit your specific needs.

5. Admin Label

This field is designated for administrative use and allows an administrator to set a label name that will be displayed on the responses page.

6. Size & Position

It typically refers to the dimensions and placement of an input or output field within a user interface. It specifies the width and position, x-position, and w-width of the field on the screen or page.

7. Input Icons

The input icon option allows you to include a symbol or image in the field input.

  1. Adding Leading and Trailing Icons: The leading and trailing icon option allows you to add a symbol or image at the start (leading) of the field input and the end (trailing) of the field input. It serves as a visual cue to help users understand the context of the text. With Bit Form, you can access over 10,000 icons from various open-source libraries and upload a custom icon to suit your specific needs.

8. Placeholder

A Placeholder is a property by which the user can understand the usage of the field. Any text entered on the placeholder will be displayed on the fields. The placeholder text will disappear when the user starts writing on the field.

9. Helper Text

It offers further clarification or context to help visitors understand the purpose of the field. This option allows you to guide your user on what kind of information should be entered, any restrictions on the input, and any formatting requirements.

  1. Adding Leading and Trailing Icons: The leading and trailing icon option allows you to add a symbol or image at the beginning (leading) or end (trailing) of the helper text. It serves as a visual cue to help users understand the context of the text. With Bit Form, you can access over 10,000 icons from various open-source libraries and upload a custom icon to suit your specific needs.

10. Default Value

This option allows you to pre-populate a form field with a default value when the form is loaded in the front end.

11. Suggestion

This Custom Suggestion feature helps to streamline the form-filling experience, making it quicker and more convenient for your users. with the ability to customize your suggestions based on your specific needs, you can provide even more value to your users.

12. Auto Complete

By enabling this option, users can easily populate the field with previously entered values without having to type them again. It can be a helpful time-saving feature for fields that require repeated entries, such as an email address or a shipping address. The AutoComplet property can be enabled by the developer/administrator during form creation or editing.

Here are the available options for the AutoComplete feature in Bit Form:

  1. Off: AutoComplete is turned off for this field.
  2. On: The browser will attempt to autofill the field based on previously entered data.
  3. Name: The user’s full name.
  4. Honorific prefix: The user’s honorific prefix (e.g. Mr., Mrs., Dr.).
  5. Give name: The user’s given (first) name.
  6. Additional name: The user’s middle name or initial.
  7. Family name: The user’s family (last) name.
  8. Honorific suffix: The user’s honorific suffix (e.g. Jr., III).
  9. Nickname: The user’s nickname or preferred name.
  10. Email: The user’s email address.
  11. Username: The user’s username.
  12. New password: A new password for the user.
  13. Current password: The user’s current password.
  14. One-time code: A one-time code for authentication.
  15. Organization Title: The user’s job title or position.
  16. Organization: The user’s organization or company name.
  17. Street address: The user’s street address.
  18. Address line 1: The user’s address line 1.
  19. Country: The user’s country.
  20. Country name: The user’s country name.
  21. Postal code: The user’s postal or zip code.
  22. Cc name: The name on the user’s credit card.
  23. Cc given name: The user’s given name on the credit card.
  24. Cc additional name: The user’s middle name or initial on the credit card.
  25. Cc family name: The user’s family name on the credit card.
  26. Cc number: The user’s credit card number.
  27. Cc exp: The user’s credit card expiration date (combined month and year).
  28. Cc exp month: The user’s credit card expiration month.
  29. Cc exp year: The user’s credit card expiration year.
  30. Cc cse: The user’s credit card security code (CSC).
  31. Cca type: The user’s credit card type.
  32. Transaction currency: The currency for a transaction.
  33. Transaction account: The account used for a transaction.
  34. Language: The user’s preferred language.
  35. Birthday: The user’s birth date.
  36. Birthday: The user’s birthday.
  37. Birth month: The user’s birth month.
  38. Birth Year: The user’s birth year.
  39. Sex: The user’s gender or sex.
  40. Telephone: The user’s telephone number.
  41. Tel national: The user’s national or international telephone number.
  42. Tel Country code: The user’s country code for their telephone number.
  43. Tel Area code: The user’s area code for their telephone number.
  44. Tel local: The user’s local telephone number.
  45. Tel extension: The user’s telephone extension.
  46. Impp: The user’s instant messaging profile.
  47. URL: The user’s website or URL.
  48. Photo: The user’s photo or image.

13. Input Model

This feature is particularly useful for mobile devices, which is especially helpful when a user needs to input a numeric value like a zip code or phone number. When a form submission is on a mobile phone, the number keypad will appear automatically, enabling the user to enter the information easily and efficiently.

These input options available in Bit Form are:

  1. Text: Allows users to enter alphanumeric text.
  2. Decimal: Allows users to enter decimal values, such as currency amounts.
  3. Numeric: Allows users to enter only numeric values.
  4. Tel: Allows users to enter a phone number. On mobile devices, this input type may trigger the device’s phone keypad for easier data entry.
  5. Search: Allows users to enter search keywords or phrases.
  6. Email: Allows users to enter a valid email address.
  7. URL: Allows users to enter a valid URL.

14. RegEx Pattern

The text field component supports custom Regex Patterns and provides a list of predefined patterns as suggestions. The predefined patterns include:

  1. Only Characters (a-zA-Z)
  2. Only Digits (0-9), which only accept full numbers and no decimal values
  3. Name, which only allows characters and spaces
  4. Username, which only allows lowercase characters and numbers
  5. Character Limit, with a default maximum limit of 100 characters
  6. Word Limit, with a default maximum limit of 30 words
  7. Only Gmail, which only allows Gmail addresses.

info-icon-bit-apps  INFO

After selecting any predefined pattern, you can customize those too.

For each pattern, the user can set Flag to control how the regex pattern will work for the text field.

g( global)– With this flag, the search looks for all matches, without it – only the first match is returned.

I (case-insensitive)– With this flag, the search is case-insensitive: no difference between A and a.

s(single line)– Enables “dot all” mode, which allows a dot . to match newline character \n.

m (multi-line)– Multiline mode.

u (Unicode)– Enables full Unicode support.

y (sticky)– “Sticky” mode: searching at the exact position in the text.

15. Required

The Required Field option allows you to make a form field mandatory for the user to fill out. You can also specify an error message to be displayed if the field is left blank. With the “Custom Error Message” option, you have the flexibility to customize the error message according to your needs. Additionally, you can add Leading and Trailing Icons to the error message for better visual representation.

  1. Adding Leading and Trailing Icons: The leading and trailing icon option allows you to add a symbol or image at the beginning (leading) or end (trailing) of the error message. With Bit Form, you can access over 10,000 icons from various open-source libraries and upload a custom icon to suit your specific needs.
  2. Asterisk Position: The asterisk symbol position indicating a required field can be set with this option. You can choose to display it before or after the field label and on the right or left side of the field.

16. Hidden

This option allows you to make the field hidden when the form is displayed on the front end.

17. ReadOnly

The read-only field option makes it possible to show information to visitors without giving them the ability to modify it. Visitors can only view the information and not edit it. This is helpful in cases where you want to display important information that should remain unchanged. By setting the field as read-only, the information remains unaltered and accurate.

18. Disabled

The disables field option disables user input and interaction, ensuring the accuracy and integrity of form data by preventing the visitor from entering or changing any information in the form.

19. UniqueEntry

This option allows you to ensure that each entry submitted in the form is unique. This feature can be useful when you want to prevent duplicate entries. You can also specify an error message to be displayed if the field entry is not unique. With the “Custom Error Message” option, you have the flexibility to customize the error message according to your needs.

  1. Adding Leading and Trailing Icons: The leading and trailing icon option allows you to add a symbol or image at the beginning (leading) or end (trailing) of the error message. With Bit Form, you can access over 10,000 icons from various open-source libraries and upload a custom icon to suit your specific needs.
Share this Doc

Text field

Or copy link

CONTENTS