PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Change CSV $separator character to pipe delimited (|)

  1. I've found it in the source (export.php) - I'm just wondering if it can be added as an option of the export page, or if I can have some help to write this into a wordpress filter?

    // set the separater
            $separator = apply_filters('gform_export_separator_' . $form_id, apply_filters('gform_export_separator', ',', $form_id), $form_id);

    change to:

    // set the separater
            $separator = apply_filters('gform_export_separator_' . $form_id, apply_filters('gform_export_separator', '|', $form_id), $form_id);
    Posted 11 years ago on Monday June 3, 2013 | Permalink
  2. David Peralty

    We have a hook you can use in your theme's functions.php file to change the separator - http://www.gravityhelp.com/documentation/page/Gform_export_separator

    Posted 11 years ago on Monday June 3, 2013 | Permalink
  3. Thanks! missed that.

    Posted 11 years ago on Monday June 3, 2013 | Permalink
  4. David Peralty

    No problem, glad to help.

    Posted 11 years ago on Monday June 3, 2013 | Permalink

This topic has been resolved and has been closed to new replies.