Support » Plugin: Gravity Pre-submission Confirmation » Date field label not showing

  • photastic

    (@photastic)


    Hey there,

    I have activated your plugin and really like it how it works.

    I’m having a problem though with the labels of a date field.
    I have a merge tag modifier in my functions.php file to add a “:” after my labels but the label isn’t showing up for a date field with separate dropdowns for day, month and year. It does work with the date picker field though.

    Code I used for the merge tag modifier:
    /* Gravity Forms merge tag modifiers */

    add_filter( ‘gform_merge_tag_filter’, function ( $value, $merge_tag, $modifier, $field, $raw_value ) {
    if ( $merge_tag != ‘all_fields’ && $modifier == ‘label’ ) {
    $value = $value . “:” ;
    }

    return $value;
    }, 10, 5 );

    Instead of showing the label, it’s showing the date value again.

    Would be awesome if we could resolve this one!

    Thanks in advance!

    Hans

    The page I need help with: [log in to see the link]

  • The topic ‘Date field label not showing’ is closed to new replies.