• Resolved robinzimmer1989

    (@robinzimmer1989)


    Hi, your plugin is great but for some reason the post object field as well as the relationship field aren’t populating the select field in the front end (no matter if I select a CPT or a regular one such as page).

    Aren’t those fields supported yet?

    Best regards
    Robin

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author fabianlindfors

    (@fabianlindfors)

    Hi!

    The post object and relationship field should work as intended, all fields from ACF are supported. I just tested it in my local environment and it worked as expected.

    Could you check if there are any error in the Javascript console?

    Thanks!

    Thread Starter robinzimmer1989

    (@robinzimmer1989)

    Hi there, I figured out what the issue was. I run a function which adds a ‘defer’ string to all js files to increase the page speed. When I remove this function everything works as expected.

    Is there a way to load all AF related js scripts in the footer instead of inline?

    Best regards
    Robin

    Plugin Author fabianlindfors

    (@fabianlindfors)

    Glad to hear you figured it out!

    The reason why the JS is inlined is because I only want it included on pages which actually contain a form and not everywhere. If you are using conditional fields there is also a small script inlined which depends upon the rest, hence it can’t be included in the footer as it currently stands.

    I might find a better way to go about this in the future but currently there is no way to have the scripts included in the footer.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Post Object / Relationship field not working’ is closed to new replies.