• MODX.com

    1,595 downloads

FormDataManager

FormDataManager is an extra by mbarton, first released on 2019-06-02.

Package Description

This Modx extra is a Custom Manager Page (CMP) that can be used to define layouts for viewing and exporting data created from forms. Currently, this works with form data generated via the Formz extra, FormIt saved forms (using the FormItSaveForm hook) or Custom Tables.

The front page lists the forms that exist in the site. By selecting the form you can define a layout to suit your processing requirements. An additional tab provides the ability to add tables i.e. Custom tables used to store form data.

NOTE: New from version 1.3+ an extra tab has been added so that you can create templates for the data view/export. This is a useful facility if you wish to export multiple forms in a standard format. The option is provided when defining a layout for a form (or table) to use a defined template, you then need to map the fields from the form/table to the predefined ones in the template. When setting up the template you enter comma separated column names, fields types (text/number/date), default values & an optional field that contains a date that can be used for the selection range when exporting. It is now also possible to mark formz/formit forms as inactive so as to reduce the number appearing in each tab.

Once the layout has been created you can view the existing records and then choose to export the data. When defining the layout you can select which fields are to be included, change the sequence/order of the fields (N/A if template), set alternative column titles (N/A if template) and if needed set a default value to be used if the value of a field is empty. You can also add additional export columns with mapped fields if using a template and/or default values if needed

The export file will match the defined layout including any required default values irrespective of the form fields saved.

Optionally, you can specify a date range for the export. By default the Start Date will be set to the last exported End Date i.e. just the latest data.

If you change the structure of a form or table you will need to remove the existing layout and then define a new form layout. Note - please ensure you have exported any existing form data that you may need using the existing layout before removing and defining a new layout.

NOTE: Since 1.3+ the processors have been made classes and all have been moved to a 'mgr' sub-folder within the processors folder. The table (FdmLayouts) used by this extra has been modified to include 3 additional fields required for the extra functionality.

Usage/Installation Instructions

Install via Package Management.

Please ensure that you also have either FormIt or Formz installed or else there will be no functionality available.

This CMP uses the Modx 2.3+ menu system and by default creates a menu entry under the Extras (Components) menu.

Details

Developer(s)
mbarton
Released
2019-06-02
First seen
2019-06-02
License
GPLv2
Supported databases
MySQL
Minimum MODX Requirement
2.3

FormDataManager Releases

Vendor Signature Released on
MODX.com 1.3.14-pl 2019-06-02 (3 months ago)
MODX.com 1.3.13-pl 2019-05-19 (3 months ago)
MODX.com 1.3.9-pl 2019-04-23 (4 months ago)
MODX.com 1.2.2-pl 2018-04-02 (1 year ago)
MODX.com 1.2.1-pl 2016-07-24 (3 years ago)

We've also seen 1 unverified versions of FormDataManager in use, but don't list those as we've been unable of confirming they are official releases from an official source.