Fields
Within the Data Builder section of the Tadabase builder, you can define your app's data structure with data tables, fields, and records.
In the previous article we discussed defining your data structure with data tables, and in this article we will discuss fields and how each field type can impact your data tables' features and functionality in tracking, calculating, reporting, and automating your data.
What are fields?
In Tadabase, a group of common fields define a data table. For instance, a data table of Orders may contain fields including Order ID Number, Order Date, Quantity, etc. The values stored within each field represent one piece of information about each order, and all field values grouped together form a record of one particular order. In your application, each order would be viewed as a record and a data table of Orders would store multiple records of individual orders.
It may be helpful to think of fields as similar to columns in a spreadsheet. Tadabase structures data with data tables, fields, and records, similarly to how spreadsheets structure data with spreadsheets, columns, and rows. Just as like columns define a spreadsheet and the values within each column come together to form a row, common fields define a data table and the values stored within each field come together to form a record.
Field Types
When adding new fields, choosing the correct field type is critical in unlocking your application's full functionality. For instance, using a date field type will allow you to filter your data with complex date formulas and calendar component functionality whereas a number field type will not. Similarly, choosing an email field type rather a text field type for an email address field is critical in unlocking powerful email functionality, such as sending automated emails from your app.
Tadabase offers a variety of field types to accommodate nearly any type of data type you would like to store. The Add Field Menu located on top of each data table divides all fields into seven field type categories:
Adding fields
- You can add fields by selecting them from the Add Field Menu that is located above each data table.
- You can add fields inline within your data table by clicking on the + icon which will be located to the right of your most previously added field.
Editing fields
Alternatively, you can edit fields within the Fields tab of the selected data table's navigation menu.
Reordering Fields
Reordering fields will not change the order of fields in existing forms or other components within the page builder.
Changing Field Types
If you would like to change a field's type from one type to another, you can do so within the Fields tab of the data table's navigation menu..
Please note: Not all field types can be changed and field types can only be changed to another type within the same field type category. For instance, a date field can be changed to a date/time field type but not to an email field type.
It is recommended to take some time to plan out your fields and their necessary field types before you begin the process of creating fields as this will help you choose the correct field types from the beginning and avoid having to change field types as your app progresses. This is recommended because changing your field types can result in negative effects on your existing fields as well as on your application overall. For instance, if you change a Rich Text HTML field to a Text field, you will likely see all the HTML tags as plain text within your fields.
Deleting fields
To delete a field, click on the field name located on the field's column header and select the Delete Field button. Once a field is deleted, you can not undo this delete.
Field Character Limitations
Small Text | 255 |
Medium Text | 500 |
Long Text | 4.2 Million |
Rich Text | 4.2 Million |
Name Title | 10 |
Name First | 100 |
Name Middle | 100 |
Name Last | 100 |
255 | |
Address1 | 300 |
Address2 | 300 |
Address City | 100 |
Address State | 50 |
Address Country | 50 |
Address Zip | 20 |
Address Lat | 15 |
Address Lon | 15 |
Phone | 50 |
Number | 255 |
Currency | 255 |
Date | Any valid date |
Time | Any valid time |
Datetime | Any valid date/time |
Datetime all Day | 10 |
Checkbox | 65,535 |
Radio | 65,535 |
Select | 65,535 |
Multi Select | 65,535 |
Decision | 1 |
Rating | 255 |
Signature | 65,535 |
Link | 65,535 |
Slider | 200 |
Join | 65,535 |
Basic Formula | 100 |
Date Formula | 100 |
Text Formula | 65,535 |
Equation | 4.2 Million |
Auto Increment | 11 |
Count | 100 |
Fields can not be deleted when they are being used as the Connection Display Field within another table. For instance, if you have a connection from the Jobs table to the Customers table and the display field is "Customer Name", you can not delete the Customer Name field as it is currently being used as the connection display field within another table. To successfully delete this field, you must first change the connection display field to another field.
Deleting a field will remove all the values that are part of that field. For instance, if you delete an Email field, all email addresses contained within this field will be deleted across all records.
Please Note: If you delete a connection field that is being used in your app, the automatic relationship will be removed as well. For example, if you have a form that adds a connected record and the connection field is deleted, the form will still function however the record will no longer be auto-connected.
Now that we have discussed how to use fields, we will explore each field type within the following articles.
We'd love to hear your feedback.