Skip to content
Grav 2.0 is officially stable. Read the announcement →

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • How to get the value of a select in a template? · 10 years ago

    Setting value_only: true on the blueprint field should save the field value instead of the key. If that's not what you want, and you want to fetch the value from the blueprint directly, I just fixed a

  • How to get the value of a select in a template? · 10 years ago

    No idea. I guess that's not possible. Which is a pitty. Why you'd have to provide a key-value pair, if you only can access the key?

  • How to get the value of a select in a template? · 10 years ago

    Hi, no you do not receive an array.... This is a modified version of my blueprint for this page type: header.sector: type: select label: Choose the sector

  • How to get the value of a select in a template? · 10 years ago

    Did you try to print it out using the developer toolbar? Only a guess but is it an array you get? Maybe something like: default[0] or default|first ---

  • How to get the value of a select in a template? · 10 years ago

    I have a custom blueprint that allows the user to create content in the backend with a <select /> I followed this guide, but how do I get the value created in the blueprint without reimplementi

  • Upload from a form · 9 years ago

    ok, it's working this way, thanks for your help!

  • Upload from a form · 9 years ago

    Thank you, this looks better, I'll give it a try and get back to tell...tnx again.

  • Upload from a form · 9 years ago

    The form is configured in the page frontmatter/header of the page containing the form. As an example of how to add the upload field to a form: form: name: my-form fields: -

  • Upload from a form · 9 years ago

    tnx, but I don't see clearly how to add this info to a form :( any tips? tnx

  • Upload from a form · 9 years ago

    Does this help: How to upload a file