NotesField

There is no notes field. But we do (sometimes) have notes associated with the entry. The NotesField adds these notes to the output by merging all notes into one cell.

Filters

  • gfexcel_notes_value_{form_id}
    This filter can change the content of the notes cell. To make things easier the filter actually gets 2 arguments; the current value and all the notes.

    Example

    add_filter('gfexcel_notes_value', function($value, array $notes) {
       // $value is the current value for the field
       // $notes is an array of all notes. 
       // Using these you can change the field to your liking.
       return $value;
    }, 10, 2);