Home › Forums › Front-end Issues › ACF + Ajax; certain JS functionalities missing › Reply To: ACF + Ajax; certain JS functionalities missing
Thanks for the answer @hube2 . I decided to compare my page to a regular acf options page created using acf_add_options_page()
.
ACF is not loading all of the needed scripts
By default ACF doesn’t load the scripts, no, but I make use of acf_enqueue_scripts()
which loads the same two acf javascript files a regular options page loads (acf-input & acf-pro-input).
The markup on your page needs to be exactly the same
My page, just like an options page, is loaded as a WordPress admin page. The rendering of the form itself is handled by ACF, the exact page doesn’t look the same but I doubt this would be an issue.
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.