Support » Plugin: Gravity Forms + Custom Post Types » Terms displayed as IDs, not Name

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi

    I’m having the same problem with this plugin, does anyone have a solution



    Similar problem. Does any one figured out how to display term names in the Entries of the form submission rather terms IDs?

    Many thanks, Dasha

    Unfortunately you can’t unless you alter the code.

    Hopefully the plugin author will take a look at this soon.

    @steve, thanks for letting me know. I was wondering if you edit the code? If so, could you give any pointers what function you altered and how?

    Many thanks in advance,


    I figured out how to display text for checkboxes/select/radio inputs in the admin Entry view via filters rather than altering the plugin code.

    Add the following code to your functions.php

    add_filter( 'gform_entry_field_value', 'admin_entry_view_display_pretty_text', 10, 4);
    function admin_entry_view_display_pretty_text( $display_value, $field, $lead, $form ){
    	$field_type = RGFormsModel::get_input_type($field);
    	if( in_array( $field_type, array('checkbox', 'select', 'radio') ) ){
    		$value = RGFormsModel::get_lead_field_value( $lead, $field );
    		return GFCommon::get_lead_field_display( $field, $value, $lead["currency"], true );
    		return $display_value;

    I hope that helps someone.

    dashaluna, thank you, that filter worked perfectly for what I needed: it displays the title rather than the ID in the Admin Entry.



    Am I supposed to change something in this code? For instance, am I supposed to put the field name somewhere for which I want to apply this function to?

    I can’t get it to work 🙁

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Terms displayed as IDs, not Name’ is closed to new replies.