Support

Account

Home Forums Front-end Issues ACF Form + Repeater Field

Helping

ACF Form + Repeater Field

  • Hello,
    I have Custom Post Type: “Events” and ACF Group Fields with Repeater Field named “Users” (with some text fields). How to make a Form on Front End (in file single-events.php).? I want to add a new row to repeater field on current page?

  • <?php
    
    acf_form_head();
    
    get_header();
    
        acf_form(array(
            'fields' => array('field_5bbdc92948f2c'),
            )
        );
    
    get_footer(); ?>

    this code allows me to display form for adding rows just like in admin side on wordpress, but I want to display empty form fields (for adding a new row) without displaying existing fields

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

You must be logged in to reply to this topic.