tobimori / kirby-dreamform

✨ DreamForm is an opiniated form builder plugin for Kirby CMS that makes forms work like magic
https://plugins.andkindness.com/dreamform
41 stars 5 forks source link

Feature request for "dropdown" and "checkboxes" #69

Closed gbdesign2023 closed 2 months ago

gbdesign2023 commented 2 months ago

More options for dropdown-field: So far, I like to use the first entry as an inactive label for dropdown-fields. This can also be used to remove a selection. This is not possible with a "classic" field once a selection has been made. Important, for example, for an optional entry to be cancelled. I also think it is a good idea to structure the selection list with an <hr> element.

Proposal:

<select id="select01" name="select01">
<option disabled selected>Please select:</option>
<hr>
<option value="phpe">PHP</option>
<option value="css">CSS</option>
<option value="js">Javascript</option>
<hr>
<option value="markdown">Markdown</option>
<option value="yaml">YAML</option>
</select>

I use a checkbox to agree to data protection. I would like to integrate a link to the "Data protection" page here, as is possible with a writer-field.

Proposal:

Bildschirmfoto 2024-07-09 um 13 22 21