Commit Graph

143 Commits

Author SHA1 Message Date
Annie Kyles
1eb0c5fa94
ENH: Add classname to p tag (#1280) 2024-04-15 18:42:50 +12:00
Steve Boyd
7a6cd1c211 API Stop using deprecated API 2022-11-29 09:36:08 +13:00
Florian Thoma
33e9a25688 ENH Add config to hide invisible fields from email output 2022-03-15 11:46:18 +11:00
3Dgoo
c71cf11a8e
Fix <br> in textarea on validation redirect (#1035)
* Fix <br> in textarea on validation redirect

When someone inserts break lines in a textarea field and submits the form, if the form validation fails and the form is populated the text area will populate with <br> displayed in the field.

This fixes that issue.

* Update EditableTextareaField.ss
2021-03-22 17:10:42 +13:00
Steve Boyd
81fcd669a2 FIX Show custom validation message for checkbox and radio groups 2020-07-21 17:30:55 +12:00
Michal Kleiner
5d739c4db4
FIX Add missing space before aria-describedby attribute 2020-05-04 18:13:41 +12:00
Luke Amos
1efeeca6db FIX Fixes #814 Renamed 'SubmittedFormEmailHtml' to 'SubmittedFormEmail'
following peer feedback.  Updated respective code and unit test
2019-01-17 10:30:05 +13:00
Luke Amos
4931d94ad6 FIX: Fixes #814 added email template for plain text. 2019-01-16 10:09:36 +13:00
Robbie Averill
3bc2b45170 Merge branch '5.2' 2018-09-22 13:54:33 +02:00
Robbie Averill
6e3eea22bc FIX Step navigation buttons are not translatable 2018-09-03 07:56:52 +02:00
Nicholas Sorokin
c906b0c973 Fix misplacement of actions class 2018-07-14 02:38:13 +09:30
Nicholas Sorokin
8c0763288f Include Actions class alongside step-buttons 2018-07-14 00:57:24 +09:30
Nicholas Sorokin
d2ddaddede Replace class "Actions" with "btn-toolbar" 2018-07-02 17:04:14 +09:30
Nivanka Fonseka
68a377b3ba updated the CSS, and fixed the colspan over the filters 2018-06-05 11:04:23 +05:30
Robbie Averill
e1a7030306 FIX Submitted form field data is rendered correctly in recipient email templates
Also remove some deprecated code from UserDefinedFormControllerTest and allow
simple or starter theme to be used in the test.
2018-01-25 16:17:28 +13:00
Robbie Averill
5695c9585a FIX Email templates for for submissions display correctly in preview 2018-01-24 15:17:03 +13:00
Will Rossiter
86cd7f9511 Fix tests 2017-10-18 21:36:31 +13:00
Robbie Averill
c6ad8648fd Merge branch '4' 2017-09-26 11:30:56 +13:00
Robbie Averill
7edc058121 FIX Escape dollar signs in UserForm contents before inserting them with regex 2017-09-22 14:43:46 +12:00
Robbie Averill
12aad64972 FIX Update namespacing and include paths in new multiple option field tests 2017-08-22 16:40:18 +12:00
Robbie Averill
91bac6dcf4 FIX Add namespaces for UserFormsOptionSetField template and EditableMultipleOptionField templates 2017-08-22 16:40:18 +12:00
Robbie Averill
cba7c26950 API Move templates to namespaced class locations in the templates folder 2017-08-22 16:40:16 +12:00
Franco Springveldt
c98fa0bab4 FIX fieldset without a legend shouldn't be a fieldset 2017-07-13 15:06:21 +12:00
Franco Springveldt
17fe85b774 Merge pull request #639 from creative-commoners/pulls/4.5/no-label-on-literalfields
NEW Use a paragraph instead of a label for literal field titles
2017-07-12 15:17:25 +12:00
Robbie Averill
0f841cd982 NEW Use a paragraph instead of a label for literal field titles 2017-07-12 14:21:29 +12:00
Franco Springveldt
1b472cda7b ENHANCEMENT removed needless list from CheckboxGroupField and RadioField 2017-07-12 10:40:53 +12:00
Robbie Averill
11f43c27dc FIX Make EditableLiteralField extensible, have its own template, honour visibility rules 2017-05-18 10:34:04 +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
Damian Mooyman
d96ac7d77b BUG Move UserForm.ss to correct location 2016-08-16 16:42:47 +12:00
muskie9
14b7c65859 BUGFIX progress bar button text change breaks buttons
fixes #488
2016-07-14 09:29:25 -05:00
Julian Warren
fdb97d23a7 Move templates to more usual location 2016-04-20 14:45:00 +12:00
Mike Andrewartha
22a65dc262 MINOR: fix for styling for one or more buttons that don't need the list styling for the step navigation. Will add the action nav which just shows the buttons
MINOR: fix for styling for one or more buttons that don't need the list styling for the step navigation. Will add the action nav which just shows the buttons

MINOR: fix for styling for one or more buttons that don't need the list styling for the step navigation. Will add the action nav which just shows the buttons
2015-10-22 18:41:24 +13:00
David Craig
8d7bbfa456 Make checkbox field markup consistant with other fields 2015-08-24 15:30:55 +12:00
David Craig
da400e8306 Fix multiple submit buttons being used 2015-08-24 10:38:02 +12:00
David Craig
e9ef2a03aa Consistant treatment of field's right title 2015-08-21 15:21:33 +12:00
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