Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Page blueprint form data not saved to pages frontmatter

Started by Muut Archive 10 years ago · 1 replies · 641 views
10 years ago

Hi,

I am creating some custom page blueprints, but I am having problems with saving the form's content. In this example, I am adding a new tab called some_tab with a simple text field on it, but no input is being persisted on the page's frontmatter.

YAML
title: Case
'@extends':
    type: default
    context: blueprints://pages

form:
  fields:
    tabs:
      fields:
        some_tab:
          type: tab
          title: Some Tab

What am I doing wrong here?

Thanks,
Babs

10 years ago

Got it... when the field name is prepended with header, the content is save to the frontmatter. RTFM...

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 673 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5337 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago