Home Forums Front-end Issues acf_form() not rendering certain fields


acf_form() not rendering certain fields

    • pekka

    • September 13, 2020 at 10:48 pm

    I have a run-of-the-mill ACF field group containing many text fields, a file upload field and a select. I’m trying to render an acf_form() in the frontend for users to submit posts.

        'id' => 'reservierung',
        'post_id'       => 'new_post',
        'new_post'      => array(
            'post_type'     => 'reservierung',
            'post_status'   => 'publish'
        'fields' => array(
        'post_content' => false,
        'uploader' => 'basic',
        'submit_value'  => 'Reservierung abschicken',
        'return' => <redacted>

    Some of the text fields are missing in the front-end.

    The missing fields have names like telefon,adresse1,adresse2`. Fields before and after those fields render fine (e.g. the address fields are missing, but the zip code and locality fields show up fine.)

    What I have tried:
    – Renamed the missing fields
    – Reordered the missing fields in the field group
    – Created new fields – they are missing as well
    – Checked the fields in the backend to make sure they don’t have some weird settings that might prevent them from rendering – they don’t
    – Specified the field group by id in acf_form()
    – Specified individual field IDs in acf_form – the problem fields are not rendered
    – Inspected the source code to make sure it’s not that the fields are output but then not displayed for some reason – nope, they are missing from the source code

    What am I missing?

    Using 5.6.0.

    • pekka

    • September 14, 2020 at 1:40 am

    Using Pro 5.6.0 btw. Not sure if I should post this in the PRO section instead.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.