Custom Field: Difference between revisions
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
Such fields are presented in a more familiar form for editing. | Such fields are presented in a more familiar form for editing. | ||
Individual columns in a table have some additional properties: | |||
* '''Required''' - Whether each row is required to have a value in the column. | |||
* '''Auto-number''' - Whether values in the column are assigned automatically in sequence (number columns) or default to the current date/time. | |||
* '''Stretch to fill available space''' - Whether the column should extend horizontally to fill the available space in the table (for presentation purposes only). | |||
Various techniques can be used to access, filter and manipulate tables. These include: | Various techniques can be used to access, filter and manipulate tables. These include: |
Revision as of 15:04, 12 August 2025
ContactsLaw allows you to define custom fields for storing additional information on resources, such as contacts, matters, documents and members. You can then use the values stored in these fields to create documents or make decisions in processes.
Resources
You can create custom fields on:
- Contacts
- Matters (using workgroups)
- Documents (using document types)
- Members
Types
Fields can contain different types of values, including:
- Text
- Number
- Date/time
- Boolean (yes/no)
- Choices (typically presented as a dropdown field)
- Hyperlink (to another resource)
Many of these types offer additional options for formatting (e.g. character casing, number of decimal places, etc). You can set these options for each field you add.
Tables
Custom fields can also be used to represent a table of values, using the Table Row type. When you create the field, you determine the columns in the table, along with their name and type. Each of the field's values (on a particular resource) represents a row, and collectively they form a table.
Such fields are presented in a more familiar form for editing.
Individual columns in a table have some additional properties:
- Required - Whether each row is required to have a value in the column.
- Auto-number - Whether values in the column are assigned automatically in sequence (number columns) or default to the current date/time.
- Stretch to fill available space - Whether the column should extend horizontally to fill the available space in the table (for presentation purposes only).
Various techniques can be used to access, filter and manipulate tables. These include:
- In expressions, you can refer to the value(s) in a particular column of a table (by name) using the Column function.
- This can be combined with the Where function to filter rows, or the Each function to transform the values.
- The Table function can be used to format the table using Markdown.
- Processes have a dedicated action for updating tables ("Update Table"). This can be used to add a new row to a table, update specific column(s) on existing rows or delete rows according to some condition.