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.

Populated dynamically checkbox's not showing options

  1. Trying to populated a checkbox list dynamically, i have the checkboxes set correctly ie "Allow field to be populated dynamically" ticked and and the name set as "teams", I know the function is correct as it prints out correctly and I know the filter is being called. But the checkbox's from this arent being displayed, what have i missed?

    Any help to shed some light on this would be much appreciated

    Thanks

    add_filter("gform_field_value_teams", "team_list");

    function team_list($value){

    $teams = get_terms('team');

    foreach($teams as $team){

    $teamlist[] = $team->name;

    }

    return $teamlist;

    }

    Posted 12 years ago on Friday February 3, 2012 | Permalink
  2. Any ideas?

    Posted 12 years ago on Wednesday February 8, 2012 | Permalink