diff --git a/content/docs/fields/field-types/text-based/single-line-text.mdx b/content/docs/fields/field-types/text-based/single-line-text.mdx index 3bb30e4e..b7c67c07 100644 --- a/content/docs/fields/field-types/text-based/single-line-text.mdx +++ b/content/docs/fields/field-types/text-based/single-line-text.mdx @@ -5,19 +5,21 @@ tags: ['Fields', 'Field types', 'Text based types', 'Single line text'] keywords: ['Fields', 'Field types', 'Text based types', 'Single line text', 'Create single line text field'] --- +The **Single line text** field is used to store short, freeform text values. It is suitable for entries like names, titles, tags, or labels. This is the most commonly used field type for capturing simple text in a structured format. For storing longer text or multiple lines, consider using the [Long text](/docs/product-docs/fields/field-types/text-based/long-text) field instead. -`Single line text` field is a simple text based field. It can hold any text value. It is generally used for storing short text values like name, email, phone number, etc. For storing text values with multiple lines, use [Long text](/docs/product-docs/fields/field-types/text-based/long-text) field. +Limit: 100,000 characters ## Create a single line text field -1. Click on `+` icon to the right of `Fields header` -2. On the dropdown modal, enter the field name (Optional). -3. Select the field type as `Single line text` from the dropdown. -4. Set default value for the field (Optional). -5. Click on `Save Field` button. -![image](/img/v2/fields/types/singlelinetext.png) +1. Click on the `+` icon next to the last field in your table. +2. Enter a name for the field. +3. Select `Single line text` from the list of field types. +4. Optionally, you can set a default value for the field & add a description. +5. Click on `Save field` to add the field to your table. -Specify default value without quotes +Refer here for generic guidelines on [creating a field](/docs/product-docs/fields#create-a-field). + +Specify default value as is, without quotes ## Similar text based fields Following are the other text based fields available in NocoDB, custom-built for specific use cases. diff --git a/content/docs/fields/index.mdx b/content/docs/fields/index.mdx index 913106e2..a46ee889 100644 --- a/content/docs/fields/index.mdx +++ b/content/docs/fields/index.mdx @@ -38,6 +38,20 @@ To add a new field to your table: Depending on the field type selected, additional options or configurations may be required—such as allowed values, precision, formulas, or linked table settings. Refer to the documentation for each field type for detailed guidance. +## Field Default Value + +You can set a default value when creating a field. This value is automatically applied to new records created after the field is set. It does not affect existing records. The default can be a fixed value (e.g., "N/A", "Unknown") or, for some field types, a dynamic value such as the current date, time, or user ID. Refer [Set default value](/docs/product-docs/fields/actions-on-field#change-default-value) for more details on how to configure default values. + +## Field Description + +![Field description](/img/v2/fields/field-description.png) + +Adding a description to a field provides context and guidance for users interacting with the table. This is especially useful in collaborative environments where multiple users may access the same data. The description can include details about the field's purpose, expected values, or any specific instructions for data entry. It appears as a tooltip when users hover over `i` icon next to the field name in the table header. For more details, refer to [Add/Edit Field Description](/docs/product-docs/fields/actions-on-field#add--edit-field-description). + +You can also search for fields using their names or descriptions. This helps quickly locate specific fields, especially in larger tables with many columns. + +![Field search](/img/v2/fields/field-search.png) + ## Field Types NocoDB offers a wide range of field types to help you structure your data effectively. From basic text and numeric fields to more advanced options like linked records, formulas, and custom types, each field serves a specific purpose. The table below provides an overview of all available field types along with brief descriptions to help you choose the right one for your use case. diff --git a/public/img/v2/fields/field-description.png b/public/img/v2/fields/field-description.png new file mode 100644 index 00000000..689f52e9 Binary files /dev/null and b/public/img/v2/fields/field-description.png differ diff --git a/public/img/v2/fields/field-search.png b/public/img/v2/fields/field-search.png new file mode 100644 index 00000000..e5163ba1 Binary files /dev/null and b/public/img/v2/fields/field-search.png differ