Skip to content

evanshunt/ss-form-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Silverstripe form exporter

This module creares a SilverStripe BuildTask which will export user form submissions to a .csv file.

Requirements

  • Silverstripe 3.x

Installation

composer install evanshunt/ss-form-exporter

Usage

You need to know the ID of the form you wish to export. It is passed as a url parameter or command line argument.

URL:

http://localhost/dev/tasks/ExportUserFormToCsv?form-id={YOUR_FORM_ID}

CLI:

php framework/cli-script.php dev/tasks/ExportUserFormToCsv form-id={YOUR_FORM_ID}

Date Range

Two additional parameters before and after can be used to narrow your search to specific dates. These both accept date strings according to the rules of PHP's strtotime. Eg. m/d/y, d-m-y, or YYYY-MM-DD.

One or both parameters can be used in order to narrow the range.

Notes

This task may fail if the fields currently defined for the Form do not match the submitted entries.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages