FormModel
FormModel =
object
Defined in: packages/schema/src/model.ts:1228
A public form (.form(...)): anyone, signed in or not, opens it at /-/forms/<name> and creates a record with its
fields, through the anonymous role’s create, behind a rate limit and a bot check. See
Public forms.
Properties
Section titled “Properties”fields
Section titled “fields”fields:
string[]
Defined in: packages/schema/src/model.ts:1234
The fields a visitor fills in, in order.
name:
string
Defined in: packages/schema/src/model.ts:1230
Its address in the app, /-/forms/<name>; unique across the app.
perMinute
Section titled “perMinute”perMinute:
number
Defined in: packages/schema/src/model.ts:1238
How many submissions one client may send per minute.
thanks
Section titled “thanks”thanks:
string
Defined in: packages/schema/src/model.ts:1236
What the page shows once the record is created.
title?
Section titled “title?”
optionaltitle?:string
Defined in: packages/schema/src/model.ts:1232
The page’s heading; the view’s singular name when omitted.