Standard Field Types
Description
The standard field types represent legacy data types used for storing data.
List of Standard Field Types
The following are the standard field types supported by Factorial Forms.
Additional Properties
The following additional properties are shared by all Standard Field Types ^50b866
- Read-Only by Default: Keep the field read-only, preventing changes to the field value
- Visible by Default: Keep the field visible on the Form Page, unless overridden by display rules
- Hide on Summary: Hide the field from the summary page
- Delete Value when Hidden: Delete the field value if the field is hidden
Delete Value when Hidden for Repeated Fields
When the same field is placed more than once on a form, those placements share one value. If all placements are hidden and Delete Value when Hidden is enabled on any one of them, the shared value is deleted when that placement becomes hidden. Turning this setting off on another placement does not prevent deletion.
If any placement remains visible, the shared value is preserved. Fields that only have the same label but store different values are separate fields and do not share this behavior.
For example, a field may appear once for a selected contact number and again for entering a different number. If hiding the entry placement must preserve the selected number, turn off Delete Value when Hidden on that placement. Check this setting on every placement of the shared field when the value must be retained for a summary or submission.
Events
Standard fields support events when the user enters or changes a value. The pipelines available for each data type are shown below.
| Field type | On Key Pressed | On Update |
|---|---|---|
| String | Yes | Yes |
| Bool | No | Yes |
| Currency | Yes | Yes |
| Date | Yes | Yes |
| Decimal | Yes | Yes |
| Float | Yes | Yes |
| GUID | Yes | Yes |
| Int | Yes | Yes |
| Lookup | Yes | Yes |
| Option Set | Yes | Yes |
On Key Pressed runs while the user is entering or selecting a value. It is useful for responsive behavior such as filtering choices, calculating a preview, showing contextual information, or preparing dependent values. Avoid placing expensive integrations on this pipeline unless they are designed to run repeatedly during data entry.
On Update runs when the field value is committed as an update. Common uses include populating or clearing dependent fields, recalculating derived values, running an integration with the completed value, applying conditional business logic, or updating another part of the form.
Events may be linked when actions must run in sequence. For example, an On Update pipeline can retrieve reference data and then use Set Field Value to apply the result. See Events on a Form for general event configuration and Set Field Value scope rules.
Validations
Below data validations are shared across all standard field types
- Bypass Validation: Bypassing validation will allow the user to continue to the next page, but will not allow the user to submit the form until they resolve the validation issue
- Required: Toggle to make the field mandatory or not. Provide an accompanying error message in the
Required Validation Error Messagetext box to be displayed if the validation fails. - Regex: Toggle to use regular expressions to validate the format of the data entered in the field. Allows the user to define a regular expression pattern to be matched by the data in the
Regex Validatortext box, and provide an error message to be displayed if the validation fails in theRegex Validation Error Messagetext box. - Conditional Validation: Specify custom conditions that should be satisfied on the field value with an accompanying error message to be displayed if the condition is not met.