Commit Graph

69 Commits

Author SHA1 Message Date
Igor Nadj
262cbf74c1 FIX: jquery validate attempting to validate ul as input 2017-05-08 18:18:47 +12:00
Damian Mooyman
c6c609a4c9 Merge remote-tracking branch 'origin/3.1'
# Conflicts:
#	code/forms/UserForm.php
#	code/model/UserDefinedForm.php
#	code/model/editableformfields/EditableFileField.php
#	code/model/editableformfields/EditableOption.php
2016-08-18 10:20:56 +12:00
muskie9
14b7c65859 BUGFIX progress bar button text change breaks buttons
fixes #488
2016-07-14 09:29:25 -05:00
Nathan
60d7c47cda #437 When using the "are you sure?" plugin... (#456)
... ensure the form immediately submits.
2016-04-29 10:22:28 +12:00
Nathan Glasl
1a767851e5 Implementing the "are you sure?" plugin to display a confirmation message when navigating away from a partially completed form. 2016-02-05 10:13:40 +11:00
Christopher Joe
6a8a82a287 removed isCheckboxGroup check and replace 2015-10-01 14:42:29 +13:00
Christopher Joe
d0d511c3a5 Remove '[' and ']' from jQuery selector for checkbox groups 2015-09-30 09:55:29 +13:00
scott1702
7f31dbe4ff focus on first invalid element after form validation
Checkbox/radio groups now get caught by validation
2015-08-27 15:27:08 +12:00
David Craig
da400e8306 Fix multiple submit buttons being used 2015-08-24 10:38:02 +12:00
David Craig
74e2f2b315 Improve progress bar accessibility 2015-08-19 15:41:41 +12:00
David Craig
9907ac604f API support for conditional steps 2015-08-18 10:51:03 +12:00
scott1702
cc67ddb98e clean up styles 2015-08-18 09:44:02 +12:00
David Craig
d73484fb69 Fix live validation 2015-08-14 09:57:06 +12:00
Damian Mooyman
f1c408d3f4 BUG Fix form submission
BUG Fixed display logic
2015-08-13 18:57:23 +12:00
scott1702
53a9aafbe5 keep first/last buttons within userform-progress div 2015-08-13 12:39:41 +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
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
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
10c86bcbc1 Removed unused js 2015-08-10 13:18:50 +12:00
David Craig
51864a6308 API new form editor 2015-08-10 13:15:59 +12:00
mikeyc7m
45a3131caa bugfix + enhancement to support modeladmin
Update to allow UserDefinedForm pages to be managed through ModelAdmin.
* Needed to update the ID of the form.
* Bug on the form data serialisation (missing ampersand breaks security token.)
2015-06-30 15:10:20 +10:00
Damian Mooyman
68b29e13e2 BUG Use correct api for assigning field value
BUG Fix encoding of cms add-option in js
ENHANCEMENT Sanitise literal HTML content
2015-02-23 11:41:23 +13:00
James Ayers
0f90ce9596 Improved FieldEditor to dynamically get the class for EditableOptions 2014-08-06 15:23:51 +12:00
Ingo Schommer
aa0f8dbc7b Transifex support, js globalisation 2013-10-30 14:31:51 +01:00
Will Rossiter
9b134f1a78 FIX: Check security ID on admin non form links (Fixes #158) 2013-09-04 23:35:01 +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
Will Rossiter
8e252c88ed NEW Migrate submissions section to a GridField instance. (Fixes #94) 2013-03-05 10:45:54 +13:00
Andreas Piening
9b5cd20a8a propperly append urlsegments preserving query and fragment 2013-01-28 16:57:05 +01:00
Will Rossiter
63593e73ab FIX: refresh sortable *after* loading new content 2012-09-11 21:32:48 +12:00
Stig Lindqvist
0bbfb720ca BUGFIX: Submissions could not be paginated. 2012-05-14 14:16:07 +12:00
Stig Lindqvist
bfb99a4f20 MINOR Refactored the javascript to use entwine 2012-05-14 10:20:19 +12:00
Stig Lindqvist
58799b9b1a MINOR Rewrote part of the javascript to use entwine instead of jquery.live 2012-05-07 17:41:34 +12:00
Will Rossiter
958677bc44 BUGFIX: workaround for drag not firing when adding options 2011-12-05 21:57:34 +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
Will Rossiter
23ba211310 BUGFIX: tidied up message output from UDF. MINOR: syntax fixes from JSLint. ENHANCEMENT: introducted the userforms namespace for future abstraction. 2011-03-06 14:20:01 +13:00
Carlos Barberis
5f6e9a9966 BUGFIX: Added jquery live to delete ane and delete all submissions links 2010-11-04 04:29:09 +00:00
Will Rossiter
4e6a9ec412 BUGFIX: fixed sortable fields (again) not working on initial page load or when accessing a page directly. BUGFIX: fixed typo of livequery to live. 2010-10-13 21:07:53 +00:00
Mateusz Uzdowski
c684b87815 ENHANCEMENT: add confirmation dialog to "Delete all submissions" 2010-10-12 03:21:48 +00:00
Jean-Fabien Barrios
8b4e3b9962 BUGFIX: See ticket 5991 2010-09-28 02:07:28 +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
0e68b7c70a MINOR: cleaned up several js warnings 2010-08-05 23:30:13 +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
c408b632e3 BUGFIX: add condition should be live 2010-06-20 06:31:34 +00:00
Will Rossiter
7491e5c9e9 BUGFIX: refresh sortable lists after adding elements 2010-05-31 09:43:52 +00:00