Support

Account

Home › Forums › Front-end Issues › get_field not working with select › Reply To: get_field not working with select

  • Hi @deeve007

    I can’t reproduce that. Both versions output the selected item and the selected item only.

    Do you see the incorrect value when you debug all fields?

    <?php 
    $fields = get_fields();
    echo "<pre>";
    print_r($fields);
    echo "</pre>";
    ?>

    When you edit the post again, is the first value selected or the one you thought you’d selected?