Download the PHP package thewebmen/silverstripe-formbuilder without Composer
On this page you can find all versions of the php package thewebmen/silverstripe-formbuilder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thewebmen/silverstripe-formbuilder
More information about thewebmen/silverstripe-formbuilder
Files in thewebmen/silverstripe-formbuilder
Package silverstripe-formbuilder
Short Description Silverstripe formbuilder to create forms in the cms
License BSD-3-Clause
Informations about the package silverstripe-formbuilder
SilverStripe Formbuilder
Introduction
Create basic forms in the CMS this module is intendended as light weight variant of the https://github.com/silverstripe/silverstripe-userforms module
Requirements
- SilverStripe CMS ^4.0
Installation
Then add the "TheWebmen\Formbuilder\Extensions\FormbuilderExtension" extension the desired page type.
Custom after form handling
A form message is displayed after a successful form submission you can add custom logic to successful submissions by adding a method called "handleFormbuilderForm" to the page with the formbuilder extension, this method receives the form, the data and the submission.
This can be used to redirect users to a success page, this method is called after saving the submission and sending the emails.
Spam protection
If the https://github.com/silverstripe/silverstripe-spamprotection module is installed then the form will add a spam protection field automatically
The ModelDropdownfieldField type
There has been added a new input type called "Model Dropdownfield" which gives you the ability to fill a dropdown based on a dataobject model. One of the abilities you'll gain while using this input type, is the ability to link two dropdown/select items (eg. a province dropdown that updates another dropdown with cities from the selected province).
You can configure a field like this: