2017 © Pedro Peláez
 

silverstripe-module ss-form-exporter

A SilverStripe dev task for exporting userform data to CSV

image

evanshunt/ss-form-exporter

A SilverStripe dev task for exporting userform data to CSV

  • Monday, July 16, 2018
  • by davejtoews
  • Repository
  • 4 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Silverstripe form exporter

This module creares a SilverStripe BuildTask which will export user form submissions to a .csv file., (*1)

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., (*2)

URL:, (*3)

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

CLI:, (*4)

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., (*5)

One or both parameters can be used in order to narrow the range., (*6)

Notes

This task may fail if the fields currently defined for the Form do not match the submitted entries., (*7)

The Versions

16/07 2018

dev-master

9999999-dev

A SilverStripe dev task for exporting userform data to CSV

  Sources   Download

The Requires

 

by David Toews

silverstripe