Support

Account

Home Forums Front-end Issues Using acf_form() with Flexible Content

Solving

Using acf_form() with Flexible Content

  • Hi all,

    I’m having some issues when trying to use the flexible content with acf_form(). It appears as though the necessary scripts aren’t loading. For example the WYSIWYG editor is just showing the unstyle Add Media, Visual and Text buttons but don’t do anything when clicking on them.

    Any helps help would be greatly appreciated.

  • Have you added acf_form_head() correctly?

  • Thank you for the reply, John.

    Yes, I believe I have this in the correct place. Just above the get_header()?

    Basically, everything else looks fine such as repeaters. The WYSIWYG editor also loads fine if I place the acf_form() on a page as it loads. It just seems to be when it comes through AJAX but repeaters, etc look and work just fine when coming through AJAX. I’m firing the ACF JS append script as recommended in the documentation but still no luck.

    Thanks again,
    James

  • This reply has been marked as private.
  • You are going to have to look/search the forum. ACF form is not designed to load via AJAX. There have been people that have tried this in the past. I seem to remember that there may have been a solutions.

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

You must be logged in to reply to this topic.