Commit Graph

37 Commits

Author SHA1 Message Date
Damian Mooyman
b047a1468c BUG Fix issue with UserFormsCheckboxSetField
Fixes #533
2016-12-21 15:09:27 +13:00
Damian Mooyman
57048fd901 Convert to psr-2 2016-08-09 17:05:22 +12:00
Damian Mooyman
5f31f36a17 BUG Prevent strstr showing warning on array $value
Fixes #481
2016-06-20 09:54:33 +12:00
assertchris
a92c9ec69d Fixing validation for CheckboxSet field (multiple options selected in a required field) 2016-05-16 08:27:05 +12:00
Peter Thaleikis
20cc915236 remove trailing spaces in the codebase 2015-09-11 10:20:06 +12:00
Damian Mooyman
08d5736c48 BUG Fix empty pages 2015-08-17 15:40:02 +12:00
Damian Mooyman
f1c408d3f4 BUG Fix form submission
BUG Fixed display logic
2015-08-13 18:57:23 +12:00
Damian Mooyman
4adc698e0f API Frontend form fields for nested composite fields 2015-08-12 16:08:32 +12:00
David Craig
51864a6308 API new form editor 2015-08-10 13:15:59 +12:00
James Ayers
0f90ce9596 Improved FieldEditor to dynamically get the class for EditableOptions 2014-08-06 15:23:51 +12:00
Will Rossiter
5568ee7875 Fix CheckboxGroupField validation (Fixes #209) 2014-07-25 14:53:13 +12:00
Kirk Mayo
53b306a434 NEW: Add a check + error message if input vars is exceded 2014-02-21 14:19:14 +13:00
mikeyc7m
19afd18c26 Update FieldEditor.php
The EditableMultipleOptionField is being exposed in the form builder, when it is added to the form the page dies! It needs to be excluded.
2014-01-31 09:37:09 +11:00
Will Rossiter
07c159cd61 NEW Allow EditableFileField to define destination folder. (Fixes #20, #177) 2013-12-20 21:08:00 +13:00
Ingo Schommer
323f66ad74 Fixed globalisation for field list 2013-11-06 15:05:31 +01:00
Mike Penhall
a6400dcfd0 Update FieldEditor.php 2013-11-04 16:08:32 +13:00
Mike Penhall
06ad657f6c Escaped addField() query to work with Postgres
I was getting a warning in the CMS with a Postgres database due to the fields on lines 191 - 193 not being double quoted.
2013-11-01 16:08:15 +13:00
danieldia
bbe1c5fb6a FIX: Ensured that the data-add-url single quotes are not processed by join_links
Due to the fact that the last bracket meant that join_links was actually sent URL + ' (eg; http://myurl.com' ), this caused problems when the quote was getting escaped - and actually prevented users from adding form fields in the CMS, with a 500. This fix ensures the closing quote is not processed by join_links.
2013-10-17 16:05:04 +13:00
Will Rossiter
9b134f1a78 FIX: Check security ID on admin non form links (Fixes #158) 2013-09-04 23:35:01 +12:00
Fred Condo
656a9fbb4e BUG: Fix access to static configuration variables
- Make statics private
- Use Config::get rather than eval to read private statics
- Add a helper function to expose UserDefinedForm_EmailRecipient::$summary_fields
  (to make them available for i18n).
2013-04-03 14:31:37 -07:00
Stephen Shkardoon
5c9a962b21 Uncasted user input cause SQL issues 2013-03-24 23:35:23 +13:00
Will Rossiter
75fb471f2c FIX use sqlquery for building sort query 2013-03-05 11:36:39 +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
2861bbdf0c BUG Build URLs to respect other parameters 2012-12-14 14:55:31 +13:00
Sean Harvey
1cba24880b Fixing deprecated call to Director::redirectBack() 2012-10-11 15:18:51 +13:00
Kirk Mayo
e4875edd05 BUG: Coding convention changes mainly replacing spaces with tabs 2012-07-17 16:09:31 +12:00
Stig Lindqvist
0bbfb720ca BUGFIX: Submissions could not be paginated. 2012-05-14 14:16:07 +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
Will Rossiter
52f68059d9 ENHANCEMENT: show link to file download in CSV export. Fixes #32 2012-05-07 21:19:16 +12:00
Stig Lindqvist
63469ced2f MINOR Some code cleanup 2012-05-07 17:41:30 +12:00
Stig Lindqvist
d9ff70595f MINOR Setting the url where the javascript should call by ajax to add a field to the user defined form 2012-05-07 17:41:30 +12:00
Stig Lindqvist
368211c7e5 MINOR addfield and addoptionfield methods are now in $allowed_actions 2012-05-07 17:41:30 +12:00
Stig Lindqvist
4e2854bb08 MINOR Must follow parents signature 2012-05-07 17:41:29 +12:00
Stig Lindqvist
958d49556d MINOR Overriding methods must have the same signature declaration as the parent class due to E_STRICT. 2012-05-07 17:41:29 +12:00
Stig Lindqvist
816edabd3f MINOR Added public keyword for methods (style guidelines) 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
Will Rossiter
2c9e68a928 MINOR: clean up of project. MINOR: removed versioned task. Out of date for usage. 2012-04-14 21:59:56 +12:00