Fine-Tuning Your Data Schema
Creating a data field is just the first step. The real power comes from configuring its specific behaviors. These settings allow you, the architect, to build intelligent forms, enforce data integrity, and create a seamless experience for your users.These settings are available when you create a new field or edit an existing one within a
📋 Function
’s design canvas.Object Types
.
Default Value
This setting allows you to pre-populate a field with a specific value whenever a newObject
is created.
- Why it’s useful: It saves time, reduces manual entry errors, and ensures consistency. For a “Task” Object, you could set the default
Status
to “To Do” or the defaultPriority
to “Medium”, guiding the user and standardizing the process from the start.
Data Input Validation
Validation rules are the cornerstone of data integrity. They ensure that critical information is never omitted.- The “Required” Toggle: This is the most common validation. When enabled, it forces the user to enter a value in the field before they can save the Object or, in some cases, transition it to a new status.
- Why it’s useful: It guarantees that you always capture essential information, like a customer’s email address, a deal’s value, or a reason for escalating a support ticket.
Display Style
This setting controls how a field appears visually on theData Screen
. The options available depend on the field type.
- Why it’s useful: A well-chosen display style can dramatically improve the user experience. For example, you can change a
Dropdown (single select)
field for a rating system to display asRadio Buttons
or a visualStar Rating
, making it faster and more intuitive for the user.
Multilingual Text
For global teams, you can provide different text for the same field depending on the user’s selected language.- Configurable Text:
Field Name
,Placeholder Text
, andHelp Text
can all be configured with multiple language options. - Why it’s useful: This allows you to design a single, universal
Object Type
that provides a fully localized experience for both English-speaking and Vietnamese-speaking users, for example. There’s no need to create separate Functions for different languages.
Conditional Visibility
This powerful feature allows you to show or hide a field based on the value of another field on the sameScreen
.
- Why it’s useful: It creates dynamic, uncluttered forms that guide the user through a process. For example, a “Reason for Rejection” text field can be configured to only appear if the
Status
field is set to “Rejected”. This keeps the screen clean and only asks for relevant information when it’s needed.