Commit Graph

18 Commits

Author SHA1 Message Date
Stephen McMahon 01520c22bd Fix(shortcode) re-order if block check $UserDefinedForm in $this->Content. Rename config value to be clearer 2018-07-09 15:20:30 +10:00
Stephen McMahon a3a2c3d286 Fix(UserDefinedFormController) change return type of index() when not using shortcode 2018-07-06 09:27:28 +10:00
Stephen McMahon 94192f4b66 Add(config) create disable_form_content_interpolation option for ignoring $UserDefinedForm in $this->Content 2018-07-05 16:10:43 +10:00
Andrew Aitken-Fincham 0f6efea12a add proper fallbacks to cover tests 2018-02-14 11:30:35 +00:00
Andrew Aitken-Fincham 8c34519644 adds logic for presence of email recipient fields 2018-02-13 16:24:53 +00:00
Dylan Wagstaff 46460c0e7c FIX Enhance JS for multiple userform instances (#715)
After testing it seems that having multiple user defined forms on a page
has already been added as a feature. However various load time dynamically
generated javascript segments had not been adapted to suit. Now they
have.

Also fixed a variable that no longer exists in the external requirements
from preventing a webpack build.
2018-02-12 16:56:36 +13:00
Martin D eafe6609e1
jquery version update 2018-02-08 15:48:51 -05:00
Raissa North 77c47a38fa FIX Fix support address list in email address fields (#707) 2018-01-29 09:56:44 +13:00
Dylan Wagstaff 9a09873e7d
Merge pull request #704 from creative-commoners/pulls/5.0/fix-email-template-data
FIX Submitted form field data is rendered correctly in recipient email templates
2018-01-26 09:39:22 +13:00
Martin D ad7b2c4ff2 Update UserDefinedFormController.php (#705)
Added $request argument to index method
2018-01-26 09:31:06 +13:00
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 515f1923ba FIX Update email attachment API for recipients and improve if statement readability 2018-01-25 11:24:36 +13:00
Robbie Averill 5695c9585a FIX Email templates for for submissions display correctly in preview 2018-01-24 15:17:03 +13:00
Dylan Wagstaff 7f208ee927 FIX javascript errors enacting default functionality
Mostly to do with translations, however the errors meant the front end
forms largely didn't work at all. Some of this was to do with the scoping
of `this` in es6 arrow functions, compared to the legacy code with entwine
that uses the fuller `function` definition. Reinstate missing dependency
for translations to function too.
2017-11-20 15:16:03 +13:00
Robbie Averill 1643b1a689 FIX Explicitly get the Fields() method from controller's data record 2017-11-01 11:43:53 +13:00
Robbie Averill d11e568cdf FIX Polymorphic has_one needs parent class name set 2017-10-26 15:40:48 +13:00
Robbie Averill 9c15c74f7b Convert to vendor module, remove secure assets suggestion 2017-10-18 22:18:46 +13:00
Will Rossiter cf6c1b44ba Controller should be under control namespace for consistency 2017-10-10 08:48:16 +13:00