Support

Account

Home Forums Front-end Issues Send acf_form() through Ajax

Unread

Send acf_form() through Ajax

  • How sent acf_form() through Ajax without page refresh???
    This function from my web-site:
    <?php
    acf_form_head();
    get_header();
    ?>

    <?php

    acf_form(array(
    ‘post_id’ => ‘new_post’,
    ‘post_content’ => false,
    ‘new_post’ => array(
    ‘post_type’ => ‘post’,
    ‘post_status’ => ‘publish’
    ),
    ‘html_submit_button’ => ‘<input type=”button” class=”acf-button button button-primary button-large” onclick=”send_form()” value=”%s” />’,
    ‘submit_value’ => ‘Опубликовать’
    ));

    ?>

Viewing 1 post (of 1 total)

The topic ‘Send acf_form() through Ajax’ is closed to new replies.