mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
UserForms module provides a visual form builder for the SilverStripe CMS. No coding required to build forms such as contact pages.
93d7da417a
- Use the correct path to the icons where ever they might be - Print out added HTML attributes for FieldEditor to support data-add-url set via PHP |
||
---|---|---|
code | ||
css | ||
images | ||
javascript | ||
lang | ||
templates | ||
tests | ||
thirdparty/jquery-validate | ||
_config.php | ||
LICENSE | ||
README.md |
UserForms
Introduction
UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code.
Maintainer Contact
* Will Rossiter (Nickname: wrossiter, willr) `<will (at) fullscreen (dot) io>`
Requirements
- SilverStripe 2.4.6+
- PHP 5 >= 5.1.0 (fputcsv)
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
- Pre fill your form fields, by passing your values by url (http://yoursite.com/formpage?EditableField1=MyValue)
Installation
- Download the module from the link above.
- 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 sapphire and cms in it.
- Run in your browser -
/dev/build
to rebuild the database. - You should see a new PageType in the CMS 'User Defined Form'. This has a new 'Form' tab which has your form builder.
Upgrading
0.1 to 0.2
We undertook some major API changes between 0.1 and 0.2. To help you migrate we have included a build task which you can run which will go through your installed forms and rebuild them with the new 0.2 data model.
To run this build task you visit the url /dev/tasks/UserFormsMigrationTask
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.