Badges
Self employed developer and web witch. Building tiny shiny websites with Grav since 2018 (also some bigger ones). Tech is political!
Recent posts
-
how do I use data-options@ with a select_optgroup field?
· 16 hours ago
Perfection! I am learning so much today. Thank you so much 💜
-
can’t get @data-options function call to work
· 16 hours ago
That's a bold statement. You are quite right, and I retract it humbly! Thanks for all the help. Will accept your solution in the other thread now.
-
how do I use data-options@ with a select_optgroup field?
· 2 days ago
I have a frontend form with one large select field with optgroups. These are the names of five parent pages and then underneath their child pages are listed as options. How do I pass this structure to
-
can’t get @data-options function call to work
· 2 days ago
Turns out that optgroup selects do not work with the data-options@ trick. I tried passing a nested array, but it gets flattened and outputs just two optgroup headings with no options underneath. I tri
-
can’t get @data-options function call to work
· 2 days ago
Are you needing the data_options@ in a frontend form (the website), or in a backend blueprint (Admin)? Frontend. It’s just that the crikey turns up everywhere, naturally. You plugin class is called
-
can’t get @data-options function call to work
· 2 days ago
I’m sorry. That is such a clear and concise example, and I’m still struggling. I was definitely missing the registering function in my theme 😆 so I thought that would be it, but I put all the things i
-
can’t get @data-options function call to work
· 3 days ago
First off, what I would ultimately like to achieve is several optgroups in a frontend form select field, consisting of four parent pages and their respective children as options. I think I need to wri
-
can I create a form in a twig template?
· 6 days ago
Got that sorted – it works all right, my xhr request was not working properly so the form got sent the page reloading way, and that apparently doesn’t use the unique form id that actually exists.
-
can I create a form in a twig template?
· 1 week ago
Hm, one little problem remains: all the forms on the page have the same id and thus all show the confirmation message after using one. And it seems I can’t use the trick with the added variable becaus
-
can I create a form in a twig template?
· 1 week ago
Oh, perfect! I hadn’t thought of the trick with adding a variable to the form in twig, that’s exactly what I needed. Thank you!