• Resolved gleenk

    (@gleenk)


    Hello, i’m having problems getting value via email.

    This is the CF7 shortcode:
    [dynamicselect* dynamicselect-200 "fi-dyn-esecuzione"]

    This is the field into mail tab of CF7:
    Esecuzione: [dynamicselect-200]

    This is the function:

    function cf7_dynamic_select_do_example1($choices, $args=array()) {
        $choices = array_flip(get_field('prod_esecuzione'));
        return $choices;
    } 
    add_filter('fi-dyn-esecuzione', 'cf7_dynamic_select_do_example1', 10, 2);

    I see correct values into form dropdown but unfortunately, this is the results in email:
    Esecuzione: 0 (instead of selected value)

    What’s wrong?

    • This topic was modified 7 years, 2 months ago by gleenk.
    • This topic was modified 7 years, 2 months ago by gleenk.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting “0” value into mail’ is closed to new replies.