I would like to parse checkboxes entries and store them in an array.
I currently have an issue form containing this snippet 👇
- type: checkboxes
id: fav_frameworks
attributes:
label: What are your favourite frameworks ?
options:
- label: React.js
- label: jQuery
- label: Express
- label: Angular
- label: Vue.js
- label: ASP.NET Core
- label: Flask
- label: ASP.NET
- label: Django
- label: Spring
- label: Angular.js
- label: Laravel
- label: Ruby on Rails
- label: Gatsby
- label: FastAPI
- label: Symfony
- label: Svelte
- label: Drupal
And would like the output to be similar to:
{
"fav_frameworks": ["Laravel", "Svelte"]
}
The current behaviour would produces this:
{
"laravel": true,
"svelte": true,
}
I would like to parse checkboxes entries and store them in an array.
I currently have an issue form containing this snippet 👇
And would like the output to be similar to:
{ "fav_frameworks": ["Laravel", "Svelte"] }The current behaviour would produces this:
{ "laravel": true, "svelte": true, }