iliain / userform-columns
There is no license information available for the latest version (2.0.0) of this package.
Duplicates the Userform Field Group feature to allow adding columns to forms
Package info
github.com/Iliain/userform-columns
Type:silverstripe-vendormodule
pkg:composer/iliain/userform-columns
2.0.0
2024-10-17 01:10 UTC
Requires
- silverstripe/userforms: ^5 || ^6
This package is auto-updated.
Last update: 2026-02-17 03:47:11 UTC
README
Duplicates the Userform Field Group feature to allow adding rows & columns to forms
Installation (with composer)
$ composer require iliain/userform-columns
Requirements
Silverstripe Userforms 5+ or 6+
Config
Customise the dropdown options for column classes via yaml:
Iliain\UserformColumns\FormFields\EditableColumnStartField: css_classes: 'col-12': 'Full width' 'col-6': 'Half width' 'col-4': 'Third width' 'col-3': 'Quarter width'
You can also set the default classes for a row via yaml, or override the template:
Iliain\UserformColumns\FormFields\EditableRowStartField: default_classes: 'flex flex-row w-full gap-2'