UserForms module provides a visual form builder for the SilverStripe CMS. No coding required to build forms such as contact pages.
Go to file
Serge Latyntcev 23de5a85c2 [CVE-2020-9280] Task for shifting UserForm uploads into correct folders
A task helper for recovering UserForm uploads targeting incorrectly migrated folders (from Silverstripe CMS 3)
    If your project has not been migrated from Silverstripe CMS 3, you do not need this helper.
    Before running this task make sure you have repaired the migrated folders themselves.
    To do that you have to run the extra migration subtask (`migrate-folders`).

    This task is particularly looking at all UserForm file submissions and checks they are in the same
    folder where the particular version of its EditableFileField has been set up to upload it to.

    If it finds the file has been misplaced, it tries to move it to the correct folder, but only if
    the file has not had any manipulations since the uploading happened (the file Version=1).

    If an affected file has a draft, then only Live version will be moved, but the draft will be preserved as is.

    For more details see CVE-2020-9280
2020-04-15 12:19:23 +12:00
_config Merge branch '5.2' into 5.3 2019-01-08 10:22:14 +01:00
.tx NEW Add silverstripe-webpack config and move files to webpack friendly location 2017-08-21 11:12:25 +12:00
client Upgrade dependencies 2019-11-12 07:32:26 +13:00
code [CVE-2020-9280] Task for shifting UserForm uploads into correct folders 2020-04-15 12:19:23 +12:00
docs Fix broken troubleshooting link 2018-10-22 10:59:06 +02:00
images Add sitetree icon 2015-10-29 12:02:11 +13:00
lang Update translations 2019-05-10 10:14:40 +12:00
templates FIX Fixes #814 Renamed 'SubmittedFormEmailHtml' to 'SubmittedFormEmail' 2019-01-17 10:30:05 +13:00
tests FIX Preview email link now handles cases where it's loaded in the browser, requested via AJAX and used in a trait or a page context 2019-05-17 15:51:11 +12:00
_config.php API Update composer requirements, Travis configuration, add phpcs/phpunit config and remove compass config 2017-08-22 16:40:15 +12:00
.cow.json Add cow config to publish changelogs to GitHub 2017-05-11 15:19:01 +12:00
.editorconfig NEW Add sass-lint configuration and refactor. Refactor JS for AirBnB ES6 syntax 2017-08-22 12:08:08 +12:00
.eslintignore Upgrade dependencies 2019-11-12 07:32:26 +13:00
.eslintrc.js Upgrade dependencies 2019-11-12 07:32:26 +13:00
.gitattributes Added standard git attributes 2015-11-19 19:10:45 +13:00
.gitignore NEW Add silverstripe-webpack config and move files to webpack friendly location 2017-08-21 11:12:25 +12:00
.nvmrc Upgrade dependencies 2019-11-12 07:32:26 +13:00
.sass-lint.yml NEW Add sass-lint configuration and refactor. Refactor JS for AirBnB ES6 syntax 2017-08-22 12:08:08 +12:00
.scrutinizer.yml Update Scrutinizer config to run new build system 2017-11-20 17:50:55 +13:00
.travis.yml Update Composer / Travis configuration for Userforms 5.5 release 2019-11-15 17:22:21 +13:00
.upgrade.yml Update path 2017-10-16 14:56:20 +13:00
code-of-conduct.md Added standard code of conduct 2015-11-21 20:11:59 +13:00
codecov.yml Add codecov configuration: do not post comments to GitHub PRs 2017-08-22 16:40:17 +12:00
composer.json Update Composer / Travis configuration for Userforms 5.5 release 2019-11-15 17:22:21 +13:00
contributing.md Made supported 2015-09-11 11:01:15 +12:00
license.md API Update composer requirements, Travis configuration, add phpcs/phpunit config and remove compass config 2017-08-22 16:40:15 +12:00
package.json Upgrade dependencies 2019-11-12 07:32:26 +13:00
phpcs.xml.dist API Update composer requirements, Travis configuration, add phpcs/phpunit config and remove compass config 2017-08-22 16:40:15 +12:00
phpunit.xml.dist FIX convert CI bootstrap references to new their new locations in vendor 2017-10-05 10:08:31 +13:00
readme.md Add supported module badge to readme 2018-06-15 17:51:45 +12:00
webpack.config.js FIX javascript errors enacting default functionality 2017-11-20 15:16:03 +13:00
yarn.lock Upgrade dependencies 2019-11-12 07:32:26 +13:00

UserForms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code.

Build Status Scrutinizer Code Quality codecov SilverStripe supported module Version License

Requirements

See the "require" section of composer.json

Features

  • Construct a form using all major form fields (text, email, dropdown, radio, checkbox..)
  • Ability to extend userforms from other modules to provide extra fields.
  • Ability to email multiple people the form submission
  • View submitted submissions and export them to CSV
  • Define custom error messages and validation settings
  • Optionally display and hide fields using javascript based on users input
  • Displays a confirmation message when navigating away from a partially completed form.

Installation

$ composer require silverstripe/userforms

You'll also need to run dev/build. You should see a new page type in the CMS 'User Defined Form'. This has a new 'Form' tab which has your form builder.

Documentation

Thanks

I would like to thank everyone who has contributed to the module, bugfixers, testers, clients who use the module and everyone that submits new features.

A big thanks goes out to Jan Düsedau for drawing the custom icon set for the form fields.

Versioning

This library follows Semver. According to Semver, you will be able to upgrade to any minor or patch version of this library without any breaking changes to the public API. Semver also requires that we clearly define the public API for this library.

All methods, with public visibility, are part of the public API. All other methods are not part of the public API. Where possible, we'll try to keep protected methods backwards-compatible in minor/patch versions, but if you're overriding methods then please test your work before upgrading.

Reporting Issues

Please create an issue for any bugs you've found, or features you're missing.