Skip to content

Commit 059d863

Browse files
Merge pull request #196 from nocodb/docs/0801-cleanup
2 parents 0806bbf + 9a57571 commit 059d863

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

content/docs/fields/field-types/text-based/single-line-text.mdx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,21 @@ tags: ['Fields', 'Field types', 'Text based types', 'Single line text']
55
keywords: ['Fields', 'Field types', 'Text based types', 'Single line text', 'Create single line text field']
66
---
77

8+
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.
89

9-
`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.
10+
<Callout type="warning">Limit: 100,000 characters</Callout>
1011

1112
## Create a single line text field
12-
1. Click on `+` icon to the right of `Fields header`
13-
2. On the dropdown modal, enter the field name (Optional).
14-
3. Select the field type as `Single line text` from the dropdown.
15-
4. Set default value for the field (Optional).
16-
5. Click on `Save Field` button.
1713

18-
![image](/img/v2/fields/types/singlelinetext.png)
14+
1. Click on the `+` icon next to the last field in your table.
15+
2. Enter a name for the field.
16+
3. Select `Single line text` from the list of field types.
17+
4. Optionally, you can set a default value for the field & add a description.
18+
5. Click on `Save field` to add the field to your table.
1919

20-
<Callout type="info">Specify default value without quotes</Callout>
20+
Refer here for generic guidelines on [creating a field](/docs/product-docs/fields#create-a-field).
21+
22+
<Callout type="info">Specify default value as is, without quotes</Callout>
2123

2224
## Similar text based fields
2325
Following are the other text based fields available in NocoDB, custom-built for specific use cases.

content/docs/fields/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,20 @@ To add a new field to your table:
3838

3939
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.
4040

41+
## Field Default Value
42+
43+
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.
44+
45+
## Field Description
46+
47+
![Field description](/img/v2/fields/field-description.png)
48+
49+
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).
50+
51+
<Callout type="info">You can also search for fields using their names or descriptions. This helps quickly locate specific fields, especially in larger tables with many columns.</Callout>
52+
53+
![Field search](/img/v2/fields/field-search.png)
54+
4155
## Field Types
4256

4357
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.
217 KB
Loading
159 KB
Loading

0 commit comments

Comments
 (0)