Support

Account

Home Forums Front-end Issues No tabs field in front end Reply To: No tabs field in front end

  • I’m trying to generate a very large page form on a front end page for users to create pages. I’m having the same problem with the Tabs I have inside the post.

    The tabs work fine on the back end but on my front end the Tabs weren’t working. I found several people on-line with the same problems so I thought I’d dig a bit deeper as they have all been ignored from what I have seen.

    I have on my page about 25 fields, some with conditional logic, some google mas and Relationship fields. After creating a test field group and adding one by one it seems that including a Relationship field breaks the tab functionality on the front end. Here is the code I’m using (I’m working in the page-new-template.php file and not in a template).

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

    <div class=”wrapper”>
    <?php while ( have_posts() ) : the_post(); ?>
    <?php if( !is_user_logged_in() ): ?>
    <h1>Please Login or Register</h1>
    <?php else: ?>
    <h1>Step 2: Build your page</h1>

    <?php acf_form(array(
    ‘post_id’ => ‘new’,
    //’field_groups’ => array( 26 ),
    ‘field_groups’ => array( 167 ),
    ‘submit_value’ => ‘Finish’
    )); ?>

    <?php endif; ?>
    <?php endwhile; ?>
    </div>

    <?php get_footer(); ?>

    And I’m running the following versions:
    Wordpress 3.9.1
    ACF 4.3.8
    ACF flexible content field 1.1.1
    ACF Gallery field 1.1.1
    ACF Options page 1.2.0
    ACF Repeater field 1.11

    For now I’m trying to rebuild my page field groups to exclude the relationships, but it is taking a lot of screwing about unfortunately.