Releases: WebsiteBaker-modules/mpform
1.3.6
1.3.5
1.3.4
*** 1.3.4 (Martin Hecht: 30-Jan-2017) ***
allow use of {TEMPLATE} place holders in notification mails (request by gottfried)
implement css for mails (to site owner and to submitter)
fix warning in disabled file upload fields (thanks to dbs for reporting)
fix warning when saving fields
1.3.3
*** 1.3.3 (Martin Hecht: 19-Dec-2016) ***
fix the local template so that indeed all place holders are allowed there
introduce {TEMPLATE1} ... {TEMPLATE9} for a single line of the local template
correctly decode html special charcacters for html emails (thanks to astrid)
allow to specify success_email_from by field or by logged on user (astrid)
for consitency also allow to specify success_email_fromname by field
fix missing single quote in most of the language files (thanks to colinax)
allow to select multiple name fields for the sender name (astrid)
allow place holders {FIELD...} in subject lines (request by astrid)
fixed default form footer and correctly implement place holder {SUBMIT}
correct the html code in the backend template for the basic settings
offer a setting for user defined classes inside the fields and
introduce place hoder {FORMATTED_FIELD} in the field loop for that (florian, gottfried)
avoid collision of the {TEMPLATE} place holder with the template for heading fields
correctly detect if we use table layout or not for the output of headings
repair update script to add the column for the field template (colinax)
avoid multiply including the department in notification mails
trim email_to when saving basic settings
update documentation and example forms
1.3.2
*** 1.3.2 (Martin Hecht: 08-Dec-2016) ***
fix language files (thanks to florian for reporting)
merge Bugfix for deleting fields in backend (Dietrich Roland Pehlke: 14-Nov-2016)
added maxlength option for textareas (thanks to alexx for suggesting)
add place holder {EMAIL} within mail templates (thanks to John for suggesting)
introduce field templates to locally override the field loop if desired
support mod_opf_Email as a replacement of the classical email output filter
updated documentation in a few places and the hints in the backend
highlight missing required radio/checkbox fields (thanks to alexx for reporting)
keep uploaded files when returning to paintform (thanks to alexx for suggesting)
correctly enclose body in tags in html mails (thanks to astrid for reporting)
add more css classes for more styling flexibility (gottfried, florian)
insert newlines in xml export for better readability (request by gottfried)
insert field number in backend overview (thanks to gottfried for suggesting)
1.3.1
Release Notes for mpForm 1.3.x
General Changes
By default switched to a div-based layout. All pages created with earlier versions of
course keep their layout as it is (by default it was a table based layout in the past).
In constants.php new constants are defined for the default settings of the field loop,
and constants.user.php is introduced as a place for user-defined override of these.
The style file has been cleaned up and a few new definitions have been added
for the help popup dialog in div-based layout. Remember to copy the default style
files manually (or merge the changes into your local modifications) in order to
pick up the improved style settings.
New Features
In multi page forms the access to following pages is denied to all following pages
unless the previous page has been submitted successfully
The submissions shown in the backend (more precisely the entries of the results table)
can now be exported as csv file from the backend.
Feature Improvements
In multi page forms submissions are handed over between the individual pages so that
the last page can send confirmation mails about all the submissions of the current page
and now also all previous pages. The data is stored in the session indexed by the
submission id and could in principle be used in the private functions as well.
The {HELP} placeholder works not only in table based layouts, but in general now.
French and Italian language support did not cover the error messages in the pear
file uploader tool. These missing language files have been added now.
When deleting submissions in the backend, also the corresponding entries in
the results table can be removed now. This works for newly created results tables
and also for new entries in existing tables when the general settings are saved
in the backend once again.
Security Enhancements
IDKEYs were not used throughout the module. In fact they were only used when
Javascript and therefore Ajax was disabled. Now the Ajax-Helpers also use IDKEYs.
Also the Noscript-fallbacks for moving fields up and down use IDKEYs now.
Documentation
The feature changes described here are also reflected in the documentation.
The standard forms have also been updated and are based on div-layout now.
Special issues concerting the update to the 1.3-series are addressed in the faq page.
Bug fixes
In the 1.2.x releases the icons for import/export for these buttons have been missing.
Now they are included in the module package.
The ajax drag&drop helper did use a wrong url for a icon in one of the message boxes.
It has been corrected now.
A few other minor fixes in Ajax-Helpers, and their Noscript-fallbacks, and in
view_submission.php
1.3.0
Release Notes for mpForm 1.3.x
General Changes
By default switched to a div-based layout. All pages created with earlier versions
of course keep their layout as it is (by default it was a table based layout in the past)
The style file has been cleaned up and a few new definitions have been added
for the help popup dialog in div-based layout. Remember to copy the default style
files manually (or merge the changes into your local modifications) in order to
pick up the improved style settings.
New Features
In multi page forms the access to following pages is denied to all following pages
unless the previous page has been submitted successfully
Feature Improvements
In multi page forms submissions are handed over between the individual pages so that
the last page can send confirmation mails about all the submissions of the current page
and now also all previous pages. The data is stored in the session indexed by the
submission id and could in principle be used in the private functions as well.
The {HELP} placeholder works not only in table based layouts, but in general now.
French and Italian language support did not cover the error messages in the pear
file uploader tool. These missing language files have been added now.
Security Enhancements
IDKEYs were not used throughout the module. In fact they were only used when
Javascript and therefore Ajax was disabled. Now the Ajax-Helpers also use IDKEYs.
Also the Noscript-fallbacks for moving fields up and down use IDKEYs now.
Documentation
The feature changes described here are also reflected in the documentation.
The standard forms have also been updated and are based on div-layout now.
Bug fixes
In the 1.2.x releases the icons for import/export for these buttons have been missing.
Now they are included in the module package.
The ajax drag&drop helper did use a wrong url for a icon in one of the message boxes.
It has been corrected now.
A few other minor fixes in Ajax-Helpers, and their Noscript-fallbacks.
release 1.2.3
*** 1.2.3 (Martin Hecht: 20-Aug-2016) ***
fix query for position in upgrade script, thanks to norhei for reporting
fix drag and drop in ajax helper, thanks to florian for reporting
honor redirection_timer in ajax notifications, thanks to florian for this hint
*** 1.2.2 (Martin Hecht: 18-Aug-2016) ***
two typo fixes in view_submissions, thanks to norhei for reporting
1.2.1
Release Notes for mpForm 1.2.0
New Features
In the backend of the module you can import and export the whole form
(including all fields and settings) as xml file. The submissions and
results tables however are not exported. This mechanism can also be
used to install the standard forms which is available together with
the documentation (sse below).
There is a new wizard now, which allows to populate html code sections
such that div-sections are shown or hidden, depending on the current
selection of another form element of your choice. They are called
conditionally displayed blocks. They are not really a field type
but you can easily populate a html code block with sophisticated
code, which you can distribute later across several html sections
in order to show/hide whole parts of the form.
Hidden fields are now available for inserting data into the form
submission which is hidden to the user - this can be useful for handing
over data between different pages of multi page forms.
Italian language support has been added and the language support in the
Ajax helpers has been improved.
Feature Enhancements
The switch to enable/disable fields is available to all field types now,
including html code and headings.
In the past the results tables often were a source of trouble. In this
version of mpform their structure is always kept up to date. If you happen
to change the suffix for the results table in the settings, add or copy
fields the table is created or the column is inserted if needed.
Additionally, if you wish not to make use of the results tables at all,
you can disable them completely by setting the suffix to the string
"DISABLED".
For html code fields there is a new switch which allows to specify where
the code shall be used: In the form on the web page, in the html code
for the site owner, and/or the html code for the user confirmation.
In html code sections normal html comments can be inserted which are
shown in the output as well, but as a new feature, if the inner part
of the html comment is additionally commented out with php comments,
it is suppressed in the output:
API Changes
The private functions take more arguments now, because the mpform
module does not make use of global variables anymore. Of course, the
usual globals like the database object and the superglobals like the
session are available. For details see the private.default.php.
The examples are more detailed now and better commented.
Documentation
The documentation has been updated and included in the module (I hope
that the forum lets me upload the file - if it is too large, I'll
make it available as a separate zip archive).
Bug fixes
The results tables are correctly removed now, when a mpform section is
removed. In the past unused results tables were kept in the database
after removing the forms until one eventually uninstalls the module.
This change also implies that you should make a backup of the submissions
when you remove the form. The results table is of course kept in the case
when multiple forms write to the same results table.
General Changes
Promised a long time ago and finally finished: The module works in sql
strict mode now.
In general the code has been reworked a lot. Long lines have been wrapped
and properly indented for better readability of the code and to assist
users when they try to identify a bug. It is not a complete rewrite of the
code but nearly. Module specific global variables are not used anmore.
Old code for WB 2.7 has been removed and code for backwards compatibility
to versions of WB 2.8 earlier than 2.8.3 have been made consistent throughout
the whole code. IDKEY and FTAN are two examples. These features are only
used when the core supports them. In general it is not recommended to
run old versions without such security features. But anyhow, in the previous
versions of mpform, there were checks which allowed to run without them,
but not in all parts of the module.
When sending http headers to redirect the user to another page, there is
an additional check now, if the headers have already been sent. If so,
an alternative redirection link is presented to the user. This can help
when other modules/snippets interfere with the way how the content is
buffered or sent to the user.
*** 1.2.1 (Martin Hecht: 02-Aug-2016) ***
fix the redirection on the help page
repair the build system which has inserted text by mistake
fix curly brace in private.php
release 1.1.22
*** 1.1.22 (Martin Hecht: 23-Mar-2016) ***
fix html special char notation for acute accents
*** 1.1.21 (Martin Hecht: 07-Mar-2016) ***
Bugfix for email receipients list