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.

Passing parameters to callback function of gform_entry_meta

  1. I love this functionality: http://www.gravityhelp.com/documentation/page/Gform_entry_meta

    BUT I wish I could send a parameter (in this case, an object) to the call back function (update_entry_meta_callback parameter of the $entry_meta array).

    Also, what are the parameters $key, $lead, $form?

    OTHERWISE, is there a way to SET THE VALUE of the meta entry while setting the array?
    That is, instead of calling a callback function, could I just set the value in the array?

    For example, maybe a "has_value" key to the array?

    $entry_meta['score'] = array(
            'label' => 'Score',
            'is_numeric' => true,
            'has_value' => 10.43,
            'is_default_column' => true
        );

    PS: The anchor links on this page don't work:
    http://www.gravityhelp.com/documentation/page/Developer_Docs#Entry_meta

    Thanks in advance for any assistance/options.

    Posted 11 years ago on Thursday May 2, 2013 | Permalink