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 →

Changes in Custom form not being saved

Started by Daniel Schubert 8 years ago · 1 replies · 923 views
8 years ago

I have a custom Form.

Problem:
Changes are not being saved once the page is created.
Editing the frontmatter in Advanced mode does work.

YAML
 form:
      fields:
        tabs:
          type: tabs
          active: 1
          fields:
            type: tab
            title: Video Config

            content:
              fields:

                video_title:
                  type: spacer
                  title: Stream Settings

                header.status:
                  type: toggle
                  label: Stream Status
                  classes: fancy
                  highlight: live
                  default: pre
                  options:
                    'pre': Pre
                    'live': Live
                    'post': Post

                header.pre_video_url:
                  type: input
                  placeholder: URL for the PRE Show Video
                  label: Pre Video URL
                  validate:
                    required: true

Any halp would be appreciated.

last edited 10/16/18 by Daniel Schubert
8 years ago

I had this problem too.
My solutions where i forgot the "header." in front of some form fields.

I hope i could help you.

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Anna, 2 days ago
2 53 16 hours ago
Forms & Blueprints · by Anna, 3 days ago
7 82 16 hours ago
Forms & Blueprints · by Anna, 1 week ago
5 186 6 days ago
Forms & Blueprints · by TomW, 1 month ago
3 379 1 month ago
Forms & Blueprints · by Japhy, 2 months ago
2 595 2 months ago