Version 2.0
There is not much documentation about Kirby form fields. As a solution to the problem I created a boilerplate for it.
- Extends basefield.
- Includes field routes.
- Connects field to javascript.
- Includes ajax request. Output data to the console.
- Extends checkboxesfield.
- Inherit values from the options.
- Appends own values.
To make it work as expected, add the following code to your blueprint:
fields:
boilertext:
title: Your Field1
type: boilertext
fields:
boilercheckboxes:
title: Your Field2
type: boilercheckboxes
2.0
- Register as plugin instead of field
- Renamed field from
boiler
toboilertext
- Added field
boilercheckboxes
1.0
- Initial release
- Kirby 2.0+
This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.
It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.