Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
protogrid:field [2018-02-07 10:44] – 31.17.252.102 | protogrid:field [2021-12-21 22:49] (current) – dru | ||
---|---|---|---|
Line 4: | Line 4: | ||
There are different types of fields: | There are different types of fields: | ||
- | * Text | + | * Text |
- | * Number | + | * Rich Text |
+ | * Number | ||
* Tableview | * Tableview | ||
* Date & time | * Date & time | ||
* Relational | * Relational | ||
- | Each field can be either computed when loading | + | Each field on a card is based on a field definition. In this field definition, you can specify |
- | Whether | + | * User Input: Decide whether input for this field is optional |
+ | * User Enabled: Set whether the field should | ||
+ | * Editable: always | ||
+ | * Editable before first save | ||
+ | * Computed by a [[protogrid: | ||
+ | * Computed by a [[protogrid: | ||
+ | * Hidden: Values might exist in the backend, but are not rendered | ||
+ | * Hidden in client: The field is rendered hidden in the browser. Note that this is a feature for eased user access and not a security feature. | ||
+ | * Size in Grid: Important fields | ||
+ | * Default Value: For some field types, you may add a default value. This value is automatically written to the card upon creating. | ||
+ | * Min-Max-Validation (for Numbers and Date & times): You may require that the value of this field is no smaller or bigger than a given value. This will be validated upon saving. | ||
+ | * Regular-Expression-Validation (for Text): You may require the text to match a certain | ||
+ | * Mail: The regex string '' | ||
+ | * Phone: The regex string '' | ||
+ | Note that whether or not a field is editable to a certain user also depends on the users role in the [[Environment]]. |