Commit Graph

142 Commits

Author SHA1 Message Date
David Craig 3217695713 port features
- hide field labels
- date picker
2015-08-10 13:51:26 +12:00
David Craig 97eb8b0255 Initial validation 2015-08-10 13:18:50 +12:00
David Craig e0aa7cd812 Add lightweight base form styling 2015-08-10 13:17:48 +12:00
David Craig c58d15fc67 Update the progress bar 2015-08-10 13:17:48 +12:00
David Craig f1c1ec67ec Add front-end form navigation 2015-08-10 13:17:48 +12:00
David Craig d83a450307 Initial multi-page form 2015-08-10 13:17:48 +12:00
David Craig 51864a6308 API new form editor 2015-08-10 13:15:59 +12:00
David Craig 2e5de487c8 Add option for displaying error messages at the top of the form 2015-07-22 09:19:48 +12:00
Will Rossiter 7a76626cd2 Redirecting to the form success message location for longer pages 2014-11-28 18:16:50 +13:00
Matthew Hailwood 7e3ac89503 Add missing , for EditableCheckboxGroupField
Missing the , is breaking validation
2014-08-25 18:33:21 +12:00
Will Rossiter 23963e2a47 FIX: disable jquery.validation with date fields
Inconsistent with date locale formats.
2014-08-11 11:09:31 +12:00
Will Rossiter 4215a19cee Fix missing comma's 2014-08-07 11:31:18 +12:00
Will Rossiter 5568ee7875 Fix CheckboxGroupField validation (Fixes #209) 2014-07-25 14:53:13 +12:00
Damian Mooyman 5e0b7fdf7a Updated jquery validate plugin (dist files only)
Cleanup of validation script. Refactor into template to allow customisation of validation.
Explicitly set error element to 'span' as per new jquery-validate support
[ref: CWPBUG-110]
2014-05-22 10:34:11 +12:00
Ingo Schommer 86e3f222ba Correct template namespace for translations, updated translations 2013-11-06 15:05:31 +01:00
Will Rossiter 9b134f1a78 FIX: Check security ID on admin non form links (Fixes #158) 2013-09-04 23:35:01 +12:00
Stephen Shkardoon b2e678ae1d Remove title from email template
If this is here, there's no way for us to generate an email that's not horribly ugly (short of custom CSS / templates).

This allows users of the standard module to decide *exactly* what content goes into an email without dealing with forking/customizing the code.

This will be a minor BC break.
2013-07-17 12:36:12 +12:00
Will Rossiter 6f1f3a2c40 FIX: if type has not been selected, do not attempt to create a new field 2013-03-21 23:32:05 +13:00
ARNHOE b445a308ed FIX: update templates for 3.1 template syntax 2013-03-21 23:05:17 +13:00
Will Rossiter 8e252c88ed NEW Migrate submissions section to a GridField instance. (Fixes #94) 2013-03-05 10:45:54 +13:00
Robert Curry 6f376de8d9 Code-style fixes 2012-12-17 08:50:33 +13:00
Robert Curry 2861bbdf0c BUG Build URLs to respect other parameters 2012-12-14 14:55:31 +13:00
Kirk Mayo e4875edd05 BUG: Coding convention changes mainly replacing spaces with tabs 2012-07-17 16:09:31 +12:00
Will Rossiter d08543f705 MINOR: translate pages string in submittedformfield. MINOR: updated unit test to reflect updated template 2012-05-19 10:49:34 +12:00
Stig Lindqvist 1590172d0c BUGFIX: A Submitted file couldn't not be shown / downloaded in the submission report 2012-05-14 14:16:46 +12:00
Stig Lindqvist 0bbfb720ca BUGFIX: Submissions could not be paginated. 2012-05-14 14:16:07 +12:00
Stig Lindqvist 89c7cf8a15 MINOR Aligned the 'Add field' buttons and drop down 2012-05-14 10:20:19 +12:00
Stig Lindqvist 7602f7bbfe MINOR Fixing image paths for EditableOptions template 2012-05-14 10:20:19 +12:00
Stig Lindqvist e6d8e81b33 ENHANCEMENT Changed the submission rendering in the CMS 2012-05-09 15:17:25 +12:00
Will Rossiter 3256663cad BUGFIX: fixes for 3.0 unit tests. Ensure form is not shown if no fields in the list, Prevent nested with getSubmissions(). 2012-05-07 22:00:18 +12:00
Stig Lindqvist 93d7da417a MINOR Template updates to support SS 3.0
- 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
2012-05-07 17:41:29 +12:00
edchipman@gmail.com 5de26cd897 Replaced all instances of new FieldSet() with new FieldList()
Replaced the complex table field used for editing the email recipients with GridField

Replaced instances of SAPPHIRE_DIR with FRAMEWORK_DIR

Replaced instances of sapphire/ in css and templates with framework/

Re-organized tabs on user defined form so they are top level

Replaced calls to toDropdownMap() with map()

Renamed getCMSFields_forPopup() top getCMSFields()
2012-05-07 17:41:29 +12:00
guywatson 5b19360f08 Added another require line, so that the jquery-ui.custom.js is included. This is because this file was renamed in the post 2.4 branch of SS 2012-02-14 14:41:15 +11:00
Will Rossiter 5ca720b508 BUGFIX When using a single rule that with a hidden condition, cms would not correctly reflect the database 2011-10-22 10:10:30 +13:00
Ingo Schommer eac0077cb6 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
Will Rossiter 062770da17 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
Carlos Barberis 1e0ac7f49f BUGFIX: Fixed prev link on Submissions tab 2010-10-27 22:20:23 +00:00
Mateusz Uzdowski bf6b73bbb1 BUGFIX: fix next/prev links in Submissions tab 2010-10-22 01:09:56 +00:00
Mateusz Uzdowski c684b87815 ENHANCEMENT: add confirmation dialog to "Delete all submissions" 2010-10-12 03:21:48 +00:00
Will Rossiter 503c5c3ff6 ENHANCEMENT: implemented tests for exporting csv files 2010-09-08 10:35:43 +00:00
Will Rossiter 3c1d81d014 ENHANCEMENT: added test coverage for UserDefinedForm.php and placeholders for other sections. API change: processNewFormFields removed
API change: refactored Form() into getFormFields(), getFormActions(), getRequiredFields()

ENHANCEMENT: added updateForm* extension hooks to allow customization of userforms
BUGFIX: gave custom scripts their own ID to enable it to be blocked.
2010-09-03 05:06:13 +00:00
Will Rossiter 6224fbe3b9 BUGFIX: removed extra quote marks which IE7/8 were tripping out on #5908. MINOR ran javascript through jslint and tidied up a couple of warnings 2010-08-05 23:24:04 +00:00
Will Rossiter 745b614710 BUGFIX: fixed sortable events not updated when loading new fields. ENHANCEMENT: Added RightTitle support to EditableFormFields. Removed parsePrepopulateValue() as usage is not clear and is broken 2010-07-07 09:17:37 +00:00
Will Rossiter fd0fe1b01d APICHANGE: added getFormattedValue() for UDF submitted form fields to allow subclasses to overload the stored content. BUGFIX: convert newlines from text submissions to br tags so textarea fields actually come out semi readable 2010-05-16 03:55:03 +00:00
Will Rossiter 71d0d4223d BUGFIX: fixed conflict with field and method naming. Removed unneeded field from model 2009-12-06 22:41:47 +00:00
Will Rossiter c34a2af447 FEATURE: Added Inequality filters to the custom rules. To Allow Numeric fields to be processed by > < statements 2009-11-02 07:22:30 +00:00
Will Rossiter 8977e65471 BUGFIX: changed attr to ATT as Attr has been deprecated 2009-09-15 04:58:00 +00:00
Will Rossiter b2d77150f3 MINOR: updated lang file 2009-07-26 23:23:45 +00:00
Will Rossiter 84436d2bfb MINOR: added userforms template from cms folder 2009-07-16 04:00:41 +00:00
Will Rossiter 031b91a791 MINOR: fixed undefined notice with export csv 2009-07-10 04:51:24 +00:00
Will Rossiter 3351ef17b3 MINOR: fixed validation button width. MINOR: increased title to 255 chars rather then 50 to allow for longer checkboxs 2009-07-05 07:14:03 +00:00
Tom Rix 9fd0a4b531 MINOR make the ajax requests relative to base 2009-07-03 02:19:12 +00:00
Tom Rix a2f3381061 MINOR make the ajax requests relative to base 2009-07-03 02:17:44 +00:00
Tom Rix 90f977bde1 2009-07-02 21:18:16 +00:00
Will Rossiter 1d3d309582 BUGFIX: fixed issue with rule based validation trying to save the default rule 2009-06-25 06:55:42 +00:00
Will Rossiter 2fb5441019 BUGFIX: fixed issue with multi select fields not mantaining dropdown values and styling 2009-06-25 05:07:00 +00:00
Sean Harvey f6f1085029 ENHANCEMENT Moved readonly capabilities to EditableFormFiel from EditableMultipleOptionField - this means you can now set readonly on any form field
BUGFIX Check for readonly when checking edit and delete permissions on FieldEditor
BUGFIX Don't just show "None" when the page is in readonly mode and showing the Fields tab, instead show a readonly representation of the field editor
2009-06-08 04:42:17 +00:00
Will Rossiter 47ecc9cfad BUGFIX: fixed ordering of form fields 2009-05-28 03:51:48 +00:00
Will Rossiter bb09f582d5 MINOR: changes to the layout of the submitted email 2009-05-22 01:48:47 +00:00
Will Rossiter 8047dec983 BUGFIX: fixed naming conflict with method / var name 2009-05-21 23:31:46 +00:00
Will Rossiter 86bc91d1f2 BUGFIX: fixed permission system for the field editor view 2009-05-14 21:40:03 +00:00
Will Rossiter 603764de01 MINOR: updated email format to use label and the value below as the table layout was not working for longer fields 2009-05-14 20:55:28 +00:00
Will Rossiter 3ec7345ac9 MINOR: fixed language of fieldeditor 2009-05-06 03:46:12 +00:00
Will Rossiter 626f09be39 APICHANGE: changed ExtraOptions() to getFieldOptions() and getFieldValidationOptions(). MINOR: fixed layout of userforms in the cms. MINOR: updated checkbox field to respond with Yes and No rather then 0 and 1. MINOR: changed behaviour or email field selector to only get email field values in popup. 2009-05-06 03:34:40 +00:00
Will Rossiter 6e3f9668c0 MINOR: removed all filter form calls as filter form has not and will not work 2009-04-27 06:00:05 +00:00
Will Rossiter 049d42769a APICHANGE: removed the dulicate send copy to subscriber field. This function should now all be routed through the Email Recipients function in the cms. this gives more control over the emailing to the user 2009-04-27 02:42:29 +00:00
Will Rossiter f5bc3fb5a6 MINOR: use button styling 2009-04-27 02:21:12 +00:00
Will Rossiter a076630b9c MINOR: changed field adding to use a dropdown field rather the a list of links that was getting unmanagable with all the fields 2009-04-27 00:20:20 +00:00
Will Rossiter 21e708156b MINOR: fixed issue where fields were hidden by default 2009-04-25 02:54:37 +00:00
Will Rossiter d592ed005f FEATURE: added ability to have rules on userdefined form fields 2009-04-23 22:52:08 +00:00
Will Rossiter 5ffaebf070 MINOR: fixed styling for dropdown options 2009-04-21 05:47:50 +00:00
Will Rossiter 83f827f006 MINOR: rewrote CSS for fieldeditor to make it more maintainable 2009-04-21 05:10:39 +00:00
Will Rossiter 379a5c98d2 MINOR: added dynamic location for the form field icon - ajshort. MINOR: added custom validation fields to insert form field specific error messages 2009-04-20 03:07:57 +00:00
Will Rossiter b83bc79fc2 BUGFIX: fixed sorting values on new fields 2009-04-19 23:52:44 +00:00
Will Rossiter 703a62cd7f BUGFIX: tidied up file attachment. should no longer attach blank file objects 2009-04-19 23:22:22 +00:00
Will Rossiter e73015e6e5 BUGFIX: got drag and drop ordering of field OPTIONS rewritten in jQuery 2009-04-18 03:08:34 +00:00
Will Rossiter c0b2f760cd BUGFIX: got drag and drop ordering of fields rewritten in jQuery 2009-04-18 02:49:46 +00:00
Will Rossiter 08b06b581c BUGFIX: fixed image icons 2009-04-17 02:50:45 +00:00
Will Rossiter 83d1f2fe86 ENHANCEMENT: rewrote the user defined forms cms JS into jquery. ENHANCEMENT: rewrote templates and removed dulicate code. APICHANGE: created parent class for EditableFormField, EditableOption and EditableMultiOption to prevent code duplication. MINOR: added icon for literal field. MINOR: added quick unit test. MINOR: removed dulicate images 2009-04-17 02:26:40 +00:00
Will Rossiter 8926ad082b FEATURE: added ability to delete 1 submission or all the submissions from the userdefined form 2009-04-15 04:23:43 +00:00
Will Rossiter 6368c972d1 MINOR: commented out delete submission code which has not been finished yet 2009-04-15 01:10:22 +00:00
Will Rossiter 0dfded7444 FEATURE: added ability to include userdefined form nested in Content field by using $UserDefinedForm token 2009-04-14 23:50:48 +00:00
Will Rossiter d3a3122b84 MINOR: show download file link in the cms for file downloads. MINOR: code formating improvements. 2009-04-14 04:11:05 +00:00
Will Rossiter 9e7e211927 FEATURE: added ability to send emails to multiple people on form submission with custom email subjects and body text. MINOR: fixed comments in userforms as it has been moved out of cms package 2009-04-14 02:06:18 +00:00
Sean Harvey cd9135bc89 BUGFIX Fixed deletion of form elements 2009-03-31 00:53:03 +00:00
Normann Lou 11d80d4699 BUGFIX: user defined form style broken in back-end. The BottomMenu and FormOption section is overlay with the FieldList section. (a ticket 1425 in Help desk) 2009-03-26 01:28:57 +00:00
Will Rossiter 9887201bf5 FEATURE: added LiteralField option to user defined forms 2009-03-25 03:37:49 +00:00
Will Rossiter b1a0026d05 FEATURE: allow subclassing of editable form field to update the UDF form editor 2009-03-25 02:06:28 +00:00
Saophalkun Ponlu e2f47e41c3 ENHANCEMENT: Allow custom email text to go to form submitter 2009-02-11 02:00:20 +00:00
Sean Harvey 29ddb3e12c Added FieldEditor images that were in sapphire, and should belong in the userforms module, updated references to the images in the templates 2008-10-23 21:11:32 +00:00
Sean Harvey 74d69a30fe ENHANCEMENT Added CSV export functionality to the userforms module 2008-09-29 05:33:43 +00:00
Sean Harvey 1ea06b4028 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