Scale Intelligence■ Docs
Docs / The model / PageField

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
PAGEFIELDvalue at none scopethe field's label, its placeholder or its name, as the page shows itlabeltextthe field's own name on the pagenametextoptionalthe input's type, a text area, a choice, or an editable regionkindtextwhat the field held, cut to 4,000 charactersvaluetextthe person typed or chose it, and it differs from what the page loaded withdirtyboolthe form it belongs to, by its name or the address it posts toformtextoptionalthe field names who a message goes torecipientbooloptionalpoints at no other object
PageField is a value at none scope. The drawing shows its fields and the objects that they point at.
kind
value
scope
none
key
none
store
none
family
sources

Fields#

fieldtyperequirednote
labeltextyesthe field’s label, its placeholder or its name, as the page shows it
nametextnothe field’s own name on the page
kindtextyesthe input’s type, a text area, a choice, or an editable region
valuetextyeswhat the field held, cut to 4,000 characters
dirtyboolyesthe person typed or chose it, and it differs from what the page loaded with
formtextnothe form it belongs to, by its name or the address it posts to
recipientboolnothe 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.