Support » Plugin: Gravity Forms Entries in Excel » Export Starred YES/NO

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Doeke Norg

    (@doekenorg)

    Hi @p3k074,

    Sorry for the late response. I didn’t receive a notification of it.

    Let me check it out. I’ll get back to you on this.

    Plugin Author Doeke Norg

    (@doekenorg)

    Hi @p3k074

    It looks like this field isn’t included by Gravity Forms by default. So to remedy this, add this to your functions.php.

    add_filter('gform_export_fields', function ($form) {
        $form['fields'][] = ['id' => 'is_starred', 'label' => __('Starred', 'gravityforms')];
        return $form;
    });

    After that you can sort the field “Starred” in the desired position. This will export the value as 0 for no, 1 for yes.

    If you really want “Yes” and “No”, add this to your functions.php

    add_filter('gfexcel_meta_value_is_starred', function ($value) {
        return $value ? 'Yes' : 'No';
    });

    Hope this helps.

    Thnx – works 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.