Support

Home Forums Event Espresso Premium Customize Registration Report

Customize Registration Report

Posted: December 29, 2015 at 12:47 am


Jen Sandbulte

December 29, 2015 at 12:47 am

Is it possible to customize the CSV report for registration? We don’t need all of the information on the report and find it a bit cluttered. Can we select which fields we want to download?


Tony

  • Support Staff

December 29, 2015 at 6:21 am

Hi Jen,

Currently it is not possible to alter which fields are exported within the registration reports.

However you can remove fields from the exported data before it is set to the CSV, this is slightly different in that the fields are exported from the database, and then removed after that before being sent to the file.

Take a look here for an example of how that is done:

https://gist.github.com/Pebblo/0977c325c28142cbbf5b

In that example I am removing the ‘First Name[ATT_fname]’ & ‘Last Name[ATT_lname]’ from the CSV. I wouldn’t recommend removing those fields but you can set any field within that array…

$fields_to_exclude_from_csv = array(
	//Add the fields you wish to exclude from the CSV here.
	'First Name[ATT_fname]',
	'Last Name[ATT_lname]',
	'Some other field',
);

and so on.

The support post ‘Customize Registration Report’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso