Record card
The Record card shows the fields of a single record selected in a table or gallery on the screen, and lets you edit them. For example, in a deliveries table a manager selects "Teddy Bear Classic", then in the card changes the arrival date, quantity, and delivery status, and saves everything with one button.
In the widget catalog it is in the Lists group. For how to add a widget to a screen and choose its data source, see Custom screen.
The video shows a Delivery card on the deliveries screen: its settings, then a delivery is selected in the Deliveries table, a comment is changed in the card, and saved with the Save button.
What to display
| Setting | What to choose | Required |
|---|---|---|
| Label | The card heading, usually the record name. Text, number, list option, or identifier also work | yes |
| Fields | One or more record fields: text, number, sum, date, time, list option or radio buttons, yes/no field | yes |
The card does not display images, rich text, or files.
Where the record is selected
The record card itself does not select a record. It needs a Table or Card gallery widget on the same screen with the same data source: in a table, you select a record by clicking the first column of the row; in a gallery, by clicking the card title. Clicking again deselects the record.
Until a record is selected, the card shows a hint:
| Message | When |
|---|---|
| "Select a record in the table or gallery. Its fields will appear here." | No record is selected yet |
| "Add a table or gallery with the same data to the screen: a record is selected there." | The screen has no table or gallery with the same data source |
| "The selected record is no longer among the screen's records: change the period or filter, or select another one." | The selected record no longer matches the page's period or filter |
How to edit a record
Editable fields appear as input controls: text and number as a text field, date with a calendar picker, list option or radio buttons as a dropdown. Non-editable fields are shown as a "label – value" list above them.
Change the fields you need and click Save to save all changes to the record at once. The button is disabled until you make a change; while saving it reads "Saving…". A success notification confirms the save: '"Teddy Bear Classic" saved'. The Discard changes button reverts the fields to their saved values.
If a value is invalid (for example, letters in a number field), a hint appears below the field, such as "A number is required, for example 12 or 3.5", and the record cannot be saved until the error is corrected. If the save fails for another reason, a notification explains why, for example "Not saved". Your input is not lost.
Text and number fields are changed only in the language currently selected in the admin panel. Date and list option fields are changed across all languages of the record at once.
When editing is not available
General record fields such as name, time, yes/no fields, and other fields that cannot be changed from a screen are display-only in the card. See Editing data from a screen for details.
If none of the selected fields can be edited, a message appears below them: "These fields can't be edited from here: they aren't in the record's attribute set, they can't be edited from the screen, or you don't have permission to edit." This can happen, for example, if you do not have permission to edit the section's records.