UserForms module provides a visual form builder for the SilverStripe CMS. No coding required to build forms such as contact pages.
Go to file
2011-05-09 09:27:56 +12:00
code BUGFIX: added exists() check on getFormFields (via Bruce Walter) to prevent fieldless forms. BUGFIX: if built form is empty still strip the $UserDefinedForm token out of the content. 2011-03-21 09:14:45 +13:00
css BUGFIX: fixed layout of FieldEditor in IE6 2010-09-21 06:14:09 +00:00
images MINOR: dropped in new icon set of the module. Thanks to Jan (eformation.de) 2011-05-09 09:27:56 +12:00
javascript BUGFIX: fixed rule value fields being hidden on load. BUGFIX: use delegate rather than live for select field changes as IE7/8 will not trigger live changes. 2011-03-06 15:47:01 +13:00
lang MINOR: added translation for body. MINOR: updated en_US.php lang file 2010-09-07 22:48:46 +00:00
templates BUGFIX Loose type check in SubmittedFormEmail.ss in order to stay compatible with trunk SSViewer rewrite (1 != '1') 2011-03-14 14:52:56 +13:00
tests BUGFIX: added exists() check on getFormFields (via Bruce Walter) to prevent fieldless forms. BUGFIX: if built form is empty still strip the $UserDefinedForm token out of the content. 2011-03-21 09:14:45 +13:00
thirdparty/jquery-validate BUGFIX: added validate plugin to module as 2.4 will not include the plugin. MINOR: changed path to jquery to not use jsparty folder 2009-12-07 00:37:20 +00:00
_config.php ENHANCEMENT Moved UserDefinedForm and related code, templates, CSS and javascript out of cms and sapphire classes into userforms/trunk 2008-09-29 03:18:23 +00:00
ChangeLog MINOR: updated documentation in prep for 0.3 2010-05-31 10:16:23 +00:00
LICENSE MINOR: updated changelog to reflect 0.2 release 2009-07-26 22:30:27 +00:00
README.md MINOR: dropped in new icon set of the module. Thanks to Jan (eformation.de) 2011-05-09 09:27:56 +12:00

chillap:scripts(git-install) ingo$ php TranslateSSDocs.php ~/Silverstripe/silverstripe-userforms/README.md

User Defined Form

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) silverstripe (dot) com>

Requirements

  • SilverStripe 2.4.0+
  • 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. Such as Map Input Field
  • 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

Installation

  1. Download the module from the link above.
  2. Extract the file (if you are on windows try 7-zip for extracting tar.gz files
  3. Make sure the folder after being extracted is named 'userforms'
  4. Place this directory in your sites root directory. This is the one with sapphire and cms in it.
  5. Run in your browser - /dev/build to rebuild the database.
  6. 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. To help you migrate from 0.1 to 0.2 we have included a build task which you can run which will go through your installed forms and rebuilt them with the new 0.2 datamodel.

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, bug fixers, testers 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.