Support

Account

Home Forums Front-end Issues unable to upload image form acf form

Solving

unable to upload image form acf form

  • Hi

    I am using front end form using acf_form() , form contains few text fields and one Image Upload Field,
    But If I click on Add Image button nothing happens , mean select file dialog is not working

    If I check using wp-admin add new post ,I can upload image, but unable to do upload image form front end

    my code is as below
    `<section id=”main_content”>
    <div class=”container”>

    <div class=”row”>
    <div class=”col-lg-10 col-md-15 col-sm-15″>
    <div class=”col-item”>
    <span class=”ribbon_course”></span>
    <div class=”photo”>
    <div class=”cat_row voilet”>Input Here</div>
    </div>
    <div class=”info voilet-text”>
    <div class=”row add_bottom_5″>

    <div class=”form-body”>
    <div class=”col-md-8″>
    <div id=”primary”>
    <div id=”content” role=”main”>
    <?php

    $args = array(
    ‘post_id’ => ‘new’,
    ‘field_groups’ => array( 5303 )
    );

    acf_form( $args );

    ?>
    </div><!– #content –>
    </div><!– #primary –>

    </div>
    </div>
    </div>
    </div>
    </div><!– End row –>
    </div><!– End container –>
    </section><!– End main_content –>

    Form get shown but

  • Same problem for me. Using ACF_Pro

  • Common causes for this are:
    – not having acf_form_head(); before get_header()
    – missing wp_footer(); in theme
    – JavaScript errors

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

The topic ‘unable to upload image form acf form’ is closed to new replies.