Hi,
Still not solved after changes you have recommended. I have attached the screen. still data is not loading.
Hi,
Did u managed to get the desired output. I am also in a same situation. need to show repeater from acf in job submit form. I am using listable theme too.
I think its something to do with javascripts.. below is the code used in page template. Is this code right?
<?php
/**
* Template Name: Manage Products
*
* @package Listable
* @since Listable 1.0
*/
acf_form_head();
get_header();
global $post; ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<script type="text/javascript">
(function($) {
// setup fields
acf.do_action('append', $('#popup-id'));
})(jQuery);
</script>
<?php /* The loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<? acf_form(array(
‘form’ => true,
‘post_id’ => ‘user_’ . $user_id,
‘field_groups’ => array(‘field_57aad46f04ccc’),));
?>
<?php endwhile; ?>
<?php acf_enqueue_uploader();?>
</main>
<!-- #main -->
</div><!-- #primary -->
<?php
get_footer();
Hi James,
Now i can able to show the form in front end. But the data’s from form fields are not loading.
Hi i have attached the json file. Still no output.
Hi James,
The above code returned NULL.
Like to have this feature too… Infact i need it for my site.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.