Home Forums General Issues ACF Form head not working?


ACF Form head not working?

  • Hi there,

    Trying to input ACF group on front-end and save it.
    Currently only testing it with an repeater. However when I press update there is an empty row added. The values in the row are empty.

    update: I just changed the form to a single text, this does save the value. So it has something to do with the repeater. It doesn’t save the row.

    Not sure what I’m doing wrong.

    <?php acf_form_head(); ?>
    <?php get_header(); ?>
    	<div id="primary" class="content-area">
    		<div id="content" class="site-content" role="main">
    			$options = array(
                                    'post_id' => '3',
                                    'field_groups' => array(29),
                                    'form' => true,
                                    'return' => add_query_arg( 'updated', 'true', get_permalink() ),
                                    'html_before_fields' => '',
                                    'html_after_fields' => '',
                                    'submit_value' => 'Update'
                                acf_form( $options );
    		</div><!-- #content -->
    	</div><!-- #primary -->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
  • I had BuddyForms activated, when I disabled the plugin the repeater was able to save. So this is a little buggy.

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

You must be logged in to reply to this topic.