Skip to content

Documenting missing Form variables #2372

Closed
@wouterj

Description

@wouterj

Some form types got some extra variables or override the common form variables. In fact, those common variables are the variables set on the main form type (Field).

How to document it

These variables should get documented in a new section in each Form Type article. They should get the same format as the Form Type Options. Inherit options should not get documented, as those are already documented in reference/form/twig_reference.

The form variables

The variables link to the code where they are defined. Try to find out a use case of it and possible values and write some small description about those (with some link to the option which is used for the variable). A code example would be great too!

Checkbox

Choice

Collection

DateTime

Date

Money

Radio

Time

Metadata

Metadata

Assignees

No one assigned

    Labels

    FormactionableClear and specific issues ready for anyone to take them.hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions