• Hey,
    i tryed to integrate it in my frontend template but it doesnt work. always says “nothing to find”. I integrated it like this: `<div class=”text_teaser”>
    <p><p><?php
    $form = get_field(‘gravity’);
    gravity_form($form, true, true, false, ”, true, 1);
    ?></p>
    </div>

    The Name of my layoutField is gravity. The Name of my subfield in ACF is “gravityform” both versions are not giving me back the selected id or the form. any ideas?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author DannyvanHolten

    (@dannyvanholten)

    Can you type
    var_dump(get_field(‘gravity’));
    in your file for me, and post the contents here? If it is a layout field you probably can’t do it like this, but if you post the contents here I can help you.

    Thread Starter Hannes Bergmann

    (@epagogmbh)

    Hey Danny, thanks for your fast Reply.
    Its NULL

    Here you can see my ACF Config:
    2017-11-08_1741

    I set it to give back the object. So i used the object code like here in my page:
    2017-11-08_1743

    And the Code i use in source page template is:
    2017-11-08_1745

    Message is: ooops cant find your formular.

    greetz matthias

    patrickbjohnson

    (@patrickbjohnson)

    Also having the same issue.

    Setup an ACF field, select the “Forms” field and dumping the field to the page returns null.

    Hi all. I wonder if one of you can post the solution you found?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to integrate in Frontend Template File?’ is closed to new replies.