Commit Graph

108 Commits

Author SHA1 Message Date
David Craig
952b9eafb0 Update multiple option field's template 2015-08-21 09:51:33 +12:00
David Craig
06f855923b Add to UserFormsGroupField template 2015-08-20 15:01:06 +12:00
David Craig
74e2f2b315 Improve progress bar accessibility 2015-08-19 15:41:41 +12:00
scott1702
185eec3651 fix heading fields only being <h> upon creation
Change text from 'step' to 'page'
2015-08-18 17:45:25 +12:00
David Craig
9907ac604f API support for conditional steps 2015-08-18 10:51:03 +12:00
Damian Mooyman
9535a2acd7 BUG Fix issues when adding new formfields:
- Page no longer reloads on new field
 - Preview mode no longer errors on new field
 - Sort order of field dropdown is ordered
 - Default field type to Text field instead of abstract base class
 - Ensure fields named 'Field' is invalidated.
2015-08-17 13:56:16 +12:00
Damian Mooyman
f1c408d3f4 BUG Fix form submission
BUG Fixed display logic
2015-08-13 18:57:23 +12:00
Damian Mooyman
7a131db8f6 Merge pull request #24 from flashbackzoo/pulls/fix-final-step-validation
Validate all steps when submitting the form
2015-08-13 12:33:47 +12:00
David Craig
8a9ed76439 Validate all steps when submitting the form 2015-08-13 12:29:05 +12:00
scott1702
2bd70c3805 allow js positioning to be removed 2015-08-13 11:13:13 +12:00
Damian Mooyman
5ba3d9b2e0 API Directly create editable fields on add 2015-08-12 12:45:25 +12:00
Damian Mooyman
a8ee26ec50 API Add field group (unfinished) 2015-08-12 09:57:54 +12:00
David Craig
1722e6ba40 Apply user defined values to form 2015-08-11 16:55:23 +12:00
scott1702
30548d793b Userform progress improvements 2015-08-11 14:57:42 +12:00
Damian Mooyman
9f112e3b23 Add "Add page break" button
Fix unit test failures
2015-08-11 14:18:46 +12:00
David Craig
65651387e0 Update step rendering 2015-08-11 10:07:13 +12:00
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