A 3B Forms form can read and write a small hierarchy of related records. Every question writes to a field on one of three kinds of object.
The context object is chosen in the builder as the form's context object and stored on the form record. When the form loads with a record id, that record is the context record: its values pre populate the form, and on submit the form updates it or creates a new one. See Form pre-population.
A parent object is added to a form as a panel bound to a related parent record. In the builder you pick the parent relationship; the panel is then tied to that object and the lookup field that connects it. Fields you place in the panel map to fields on the parent record. On submit, parent records are saved first so their ids can be linked to the context record.
A panel with no parent object bound is a grouping panel: it only groups fields visually, and the fields inside it belong to whatever object the panel itself sits in.
This is what the builder's Write to Field dropdown offers for a question inside the panel, and it is the record the field is written to on submit.
A child object is added as a repeatable section bound to a child relationship. Each repeat is a separate child record. In the builder you pick the child relationship, which sets the object and the lookup field back to the parent. Fields in the section map to fields on each child record.
Child sections can pre load existing related records. When the form opens against a context record, the section is filled with one repeat per existing child record, so a user edits existing children rather than only adding new ones.
The Initial entry state property controls how each repeat of a child section is presented when the form opens:
| Option | Behavior |
|---|---|
| Locked | Entries cannot be expanded or collapsed by the user |
| Collapse all | All entries start collapsed |
| Expand all | All entries start expanded |
| First expanded | Only the first entry starts expanded, the rest start collapsed |
The setting applies when Entry display mode is set to List. Each entry renders a clickable header the user can toggle (except in Locked mode). The header text comes from the Entry title pattern property; if no pattern is set, entries are numbered automatically. Newly added entries always open expanded so the user can fill them in. Pre loaded entries follow the configured state, which keeps long record lists compact when a form opens against a record with many existing children.
A child section can carry a custom filter that limits which existing child records are pre loaded. The filter is authored in the builder, validated against the child object, and stored encrypted in the form definition so it cannot be tampered with in the browser. On submit the filter is decrypted and applied server side. See Security architecture.
On submit the form builds a record tree: the context record at the root, parent records above it, and child records below it. It saves parent records first, links their ids into the context record, saves the context record, then saves each child record linked back to the context record. Record ids are stamped back into the form data as records are saved, so a resubmission updates the same records rather than creating duplicates. See Validation and error handling.
Merge tags can read from the context record and iterate over child records, so read only text on the form can show live related data. See Merge tags and templates.