Commit Graph

14 Commits

Author SHA1 Message Date
Damian Mooyman
5349bb7d3b API Use core validation for form submission
Fixes #350 and fixes #404
This change abandons validation via EditableFormField::validateField, as it bypassed too many core validation mechanisms (RequiredFields, etc).
In order to enforce consistency of editable field validation, display rules have been hard-disabled when a field is marked as required.
Since this removes functionality, I have incremented the major version number
2016-04-18 12:04:21 +12:00
Damian Mooyman
acede0d4ab BUG Fix duplication of forms with groups
Fixes #339
2015-09-18 11:56:58 +12:00
Damian Mooyman
09553a1293 BUG Fix <form > tag being invalidly nested inside <p> tag 2015-08-21 12:26:52 +12:00
Damian Mooyman
08d5736c48 BUG Fix empty pages 2015-08-17 15:40:02 +12:00
Damian Mooyman
9f112e3b23 Add "Add page break" button
Fix unit test failures
2015-08-11 14:18:46 +12:00
David Craig
51864a6308 API new form editor 2015-08-10 13:15:59 +12:00
Damian Mooyman
d17e8a773f API Custom rules for email recipients 2015-07-21 10:30:46 +12:00
Kirk Mayo
ea7163f02e BUG: Fixes #179 broken unit tests caused by tests not having classes for ExtendedEditableFormField 2013-12-20 14:23:13 +13:00
Nik Rolls
da6a624b6c - Added calls to Object#extend in EditableFormField's getFieldConfiguration and getFieldValidationOptions
- Added tests for extensions on EditableFormField
2013-12-05 19:08:08 +13: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
Will Rossiter
503c5c3ff6 ENHANCEMENT: implemented tests for exporting csv files 2010-09-08 10:35:43 +00:00
Will Rossiter
7eef5646e5 ENHANCEMENT: added test coverage for populateFromPostData() 2010-09-08 03:20:28 +00:00
Will Rossiter
bc0d4c7692 ENHANCEMENT: Implemented tests to complete email recipients class. APICHANGE: changed *FieldSettings() to *Setting() 2010-09-07 22:44: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