Skip to content

FormInput

FormInput = object

Defined in: packages/schema/src/view-form.ts:9

What .form(...) takes.

fields: Ref[]

Defined in: packages/schema/src/view-form.ts:15

The fields a visitor fills in, in order: plain fields the anonymous role may create.


name: string

Defined in: packages/schema/src/view-form.ts:11

Its address in the app, /-/forms/<name>: lowercase letters, digits, - and _, unique across the app.


optional perMinute?: number

Defined in: packages/schema/src/view-form.ts:19

How many submissions one client may send per minute; default 5.


thanks: string

Defined in: packages/schema/src/view-form.ts:17

What the page shows once the record is created.


optional title?: string

Defined in: packages/schema/src/view-form.ts:13

The page’s heading; the view’s singular name when omitted.