Support

Account

Home Forums Front-end Issues Ajax field type 'user' dont work in frontend

Solved

Ajax field type 'user' dont work in frontend

  • Hi!

    After upgrading from ACF 4(free) to ACF 5(free) on front-end form field with type ‘user’ stop working. In create new post form on front-end.

    I see in Chrome DevTool that page make ajax POST query to self with form data:
    action=acf%2Ffields%2Fuser%2Fquery&field_key=field_5aa59eaecb495&s=s&paged=1&nonce=&post_id=

    but in result i have HTML page, not JSON.

    But in admin zone in edit post this field is working as expected.

    Code in page is start from code

    <?php acf_form_head(); ?>
    <?php get_header(); ?>

  • Fixed added to template <?php wp_footer(); ?>
    also fixed twice post and does not worked upload files

    https://www.advancedcustomfields.com/resources/using-acf_form-to-create-a-new-post/

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

The topic ‘Ajax field type 'user' dont work in frontend’ is closed to new replies.