Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

How to nest data in forms?

admin form

Started by ontime 7 years ago · 0 replies · 770 views
7 years ago

I would like to nest some data like this:

YAML
fields:

    header.title:
        type: text
        label: Title
        style: vertical
        autofocus: true
        validate:
            required: true

    header.place.address.street:
        label: Address - street
        type: text

    header.place.address.country:
        label: Address - country
        type: text

It does not work, but is it somehow possible?

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by TomW, 3 days ago
3 84 2 days ago
Forms & Blueprints · by Japhy, 3 weeks ago
2 396 2 weeks ago
Forms & Blueprints · by FrViPofm, 1 month ago
5 397 1 month ago
Forms & Blueprints · by Ton Haarmans, 6 years ago
13 2391 8 months ago
Forms & Blueprints · by Hugo Oliveira, 9 months ago
0 847 9 months ago