PageField.
One form field a page showed, with what it held when the page was read: its label, its name, its kind, its value, and whether the person changed it; a password, a one-time code and a card's number never appear, by the platform's redaction rows
Figure 1PageFieldspecified
- kind
- value
- scope
- none
- key
- none
- store
- none
- family
- sources
Fields#
| field | type | required | note |
|---|---|---|---|
label | text | yes | the field’s label, its placeholder or its name, as the page shows it |
name | text | no | the field’s own name on the page |
kind | text | yes | the input’s type, a text area, a choice, or an editable region |
value | text | yes | what the field held, cut to 4,000 characters |
dirty | bool | yes | the person typed or chose it, and it differs from what the page loaded with |
form | text | no | the form it belongs to, by its name or the address it posts to |
recipient | bool | no | the field names who a message goes to |
Routes that use it#
No route takes or returns PageField directly. The record holds it, and the objects that point at it reach it.