Skip to main content

builtInFieldRules

Requires an authenticated session.

Lists, for every built-in field and every form that has it, whether the organization hides it, offers it or requires it. Staff forms and Settings render from it. Requires a signed-in staff user.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query BuiltInFieldRules {
builtInFieldRules {
defaultRule
field
rule
surface
}
}

Response:

{
"data": {
"builtInFieldRules": [
{
"defaultRule": "string",
"field": "string",
"rule": "string",
"surface": "string"
}
]
}
}
builtInFieldRules: [BuiltInFieldRule!]!

Type​

BuiltInFieldRule object​

Whether one built-in field is hidden, optional or required on one form.