Installation can be done either by composer or by manually downloading a release.
composer require "silverstripe/userforms:*"
- Download the module from the releases page.
- Extract the file (if you are on windows try 7-zip for extracting tar.gz files
- Make sure the folder after being extracted is named 'userforms'
- Place this directory in your sites root directory. This is the one with framework and cms in it.
After installation, make sure you rebuild your database through dev/build
.
You should see a new PageType in the CMS 'User Defined Form'. This has a new 'Form' tab which has your form builder.
If you want to use custom email templates set the following config option.
UserDefinedForm:
email_template_directory: your/template/path/
Any SilverStripe templates placed in your email_template_directory
directory will be available for use with submission emails.