306 Commits

Author SHA1 Message Date
Mateusz Uzdowski
7b64dc2391 Minor fixes to the tests for 0.5. 2012-09-19 13:21:22 +12:00
Mateusz Uzdowski
9b24ace261 BUG Popup to apear on a date field. 2012-09-17 19:34:56 +12:00
Mateusz Uzdowski
b572b79b30 ADD Add report visibility setting to EditableFormHeading
Same as already existing setting on EditableLiteralField.

Conflicts:
	code/model/formfields/EditableFormHeading.php
2012-09-17 19:34:56 +12:00
Mateusz Uzdowski
4cc811d1c0 BUG Fix the date field conditional to work with dropdown.
In this case they keyup will not be triggered at all.
2012-09-17 19:34:56 +12:00
Mateusz Uzdowski
12e8c675ff BUG Fix the edge cases for radio button conditionals.
The specific situation this is fixing is that when server-side
validation fails and results in form having non-default values. In this
case the visibility might not be correct and will need to be updated.

Also, we cannot rely on onclick events on radio group to find out the
current value when we are loading - instead we need to actually find
out the currently selected radio button.

Fixes the IsBlank and IsNotBlank conditions as well.
2012-09-17 19:34:56 +12:00
Mateusz Uzdowski
e11ab5acbf BUGFIX: prevent form from expiring on users - ping regularly.
The form throws a CSRF error if left for too long by itself. This is
especially important for long forms.

Use local ping function, as the CMS ping returns 403 when BasicAuth is
enabled.
2012-09-17 19:34:56 +12:00
Will Rossiter
ca12d54173 Merge remote-tracking branch 'origin/master' 2012-05-07 18:12:41 +12:00
Will Rossiter
6c1b843fac BUGFIX: fix regression with literal fields not showing content 2012-05-07 18:10:57 +12:00
Will Rossiter
584219b0b5 Merge pull request #29 from guywatson/master
BUGFIX: fix link not appearing in submitted form fields.
2012-04-19 17:45:12 -07:00
guywatson
94b491e125 Incorrect Logic 2012-04-20 10:12:03 +10:00
Will Rossiter
aa67b9da2f FEATURE: allow users to enter extra classes on form fields via the cms. PATCH via TotalNet. Fixes: #5791 2012-04-14 23:03:43 +12:00
Will Rossiter
965d8d00b0 BUGFIX: fix error location for radio fields. Fixes #5635 and #6846. 2012-04-14 22:43:02 +12:00
Will Rossiter
bb1c4d8043 Merge branch 'master' of github.com:silverstripe/silverstripe-userforms 2012-04-14 22:01:23 +12:00
Will Rossiter
0978a1ebf8 BUGFIX: avoid validating fields which have the potential to be hidden. Fixes #5406 and #3 2012-04-14 22:00:13 +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
Will Rossiter
7cd37cf0a3 Merge pull request #7 from marcokernler/url-params
FEATURE: Allow pre filled form fields via url params
2012-04-13 18:01:01 -07:00
Will Rossiter
c957af1c29 Merge pull request #9 from icecaster/patch-1
ENHANCEMENT: use CountryDropDownField instead of DropdownField
2012-03-22 15:32:05 -07:00
Tim Klein
c72d7f09fb using CountryDropDownField instead of DropdownField to make use of the extra functionality provided through CountryDropdownField, such as defautling to visitor country 2012-03-23 09:41:19 +13:00
Will Rossiter
bbc6d71ed8 Merge pull request #8 from guywatson/patch-1
BUGFIX fix inclusion of jquery-ui in post-2.4 branch.
2012-02-16 14:26:58 -08: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
marcokernler
ab7e53fb6f MINOR - Added escaping for values passed by url params 2011-12-20 22:17:23 +01:00
marcokernler
e24e9b4245 MINOR - Now follows the coding conventions 2011-12-20 22:15:49 +01:00
marcokernler
81afd90761 MINOR - Added documentation to the readme 2011-12-20 22:07:40 +01:00
marcokernler
c575c8d981 MINOR - Allow pre filled form fields via url params 2011-12-19 16:47:22 +01:00
Will Rossiter
350a6fa65d Merge pull request #6 from mattclegg/master
BUGFIX: fixed non javascript validation. MINOR: Tidied-up formatting.
2011-12-05 15:33:59 -08:00
Will Rossiter
a832a09910 MINOR: update master lang file 0.4 2011-12-06 09:59:18 +13:00
Will Rossiter
2ea28495f7 BUGFIX: fix titles and labels being escaped multiple times resulting in html entities displaying in submission pages, export and emails. Fixes http://open.silverstripe.org/ticket/6787 2011-12-05 23:19:20 +13:00
Will Rossiter
2dac28ade9 MINOR: remove changelog, out of date and unneccessary 2011-12-05 22:44:23 +13:00
Will Rossiter
958677bc44 BUGFIX: workaround for drag not firing when adding options 2011-12-05 21:57:34 +13:00
Will Rossiter
a81a164bcf FEATURE: allow EditableLiteralFields to be hidden from report extracts. Fixes http://open.silverstripe.org/ticket/6704 2011-12-05 21:38:10 +13:00
Will Rossiter
7148d3e91f MINOR: use title case for EditableTextField. Fixes http://open.silverstripe.org/ticket/5799 2011-12-05 21:18:56 +13:00
Will Rossiter
51dfce8680 Merge pull request #5 from swaiba/master
BUGFIX send correct mimie types for attached files.
2011-11-25 13:04:57 -08:00
swaiba
cbcd6c9eff ensure correct mime type of attached file - this was failing because Mimesweeper not liking the "Content-Type" and they see the following warning:
Bad Data
Recognize SMTP messages
The Content-Type header is invalid - Word document; name="SOMEDOCUEMNT.doc"
2011-11-25 16:48:42 +00: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
Will Rossiter
13c0bfb017 MINOR update master language file. 2011-10-22 09:21:16 +13:00
Will Rossiter
9020ce82d0 MINOR: files uploaded from forms should be hidden from the search engine 2011-09-16 11:47:09 +12:00
Will Rossiter
bb2ac5e137 MINOR: dropped in new icon set of the module. Thanks to Jan (eformation.de) 2011-05-09 09:27:56 +12:00
mattclegg
8f8eab018c MINOR Tidied-up formatting 2011-04-08 18:39:05 +01:00
mattclegg
a7a3dcb945 BUGFIX Added validation (for non javascript submits) 2011-04-08 18:36:01 +01:00
Will Rossiter
fed25ad45b 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
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
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
Julian Seidenberg
d080c15a49 BUGFIX: fixed double escaping for titles on output while maintaning escaping of special characters. 2011-03-03 16:08:09 +13:00
Ingo Schommer
a315343c39 MINOR Migrated readme from doc.ss.org 2011-02-12 12:49:34 +13:00
Will Rossiter
045a01bf2b BUGFIX: fixed double escaping for titles on output. Thanks dhensby. 2011-02-08 21:30:35 +13:00
Will Rossiter
6350a66dfb BUGFIX: fixed undefined index when submitting a blank form. Fixes #6272 2011-01-18 16:15:57 +13:00
Will Rossiter
ed61c03971 BUGFIX: fixed notice with missing $messages var when no fields are required. PATCH via ajshort 2011-01-04 01:37:47 +00:00
Will Rossiter
fb3fb184e1 BUGFIX: fixed incorrect formatting for jQuery.validate rules. ENHANCEMENT: added getErrorMessage() to ensure consistent error messages. BUGFIX: readded missing custom messages 2010-12-19 01:19:19 +00:00
Will Rossiter
9bb51b6cea ENHANCEMENT: return false if no fields have been added to a UserDefinedForm rather than a blank form 2010-12-19 00:40:53 +00:00