Home › Forums › Backend Issues (wp-admin) › ACF + Ninja Forms conflict?
I’m using ACF as well as Ninja Forms, and it seems there’s a small conflict between the two in the back-end: Ninja Forms has an “Add form” button above any text editor (both native WYSIWYG and those added by ACF fields), which shows a modal for chosing which form you want to place in the text via shortcode.
There are two topics about this on the Ninja Forms Github, and I’ve replied to both to dump them, but they’ve not picked up any traction. The issue is not that common, so maybe it’s a niche thing.
Is there anything on the ACF side that could cause this? I’m posting this publicly because it may help others with this issue. Any help appreciated.
I’ve got a quick fix for this, but it’s not ideal. The problem is that Ninja Forms creates a unique modal that is associated specifically the main content region, and it doesn’t support multiple of that modal of one page. When ACF is installed, the modal gets duplicated to account for custom WYSIWYG fields, but that causes a bunch of issues due to the duplication.
Simple solution is to just remove the fields from ACF fields. Obviously this means you need to manually insert Ninja Forms when using custom fields, but it’s a reasonable compromise.
There are several plugins that add to the wysiwig that are not multiple editor compatible. I have not had much luck getting these plugin authors to alter them so that they are.
You must be logged in to reply to this topic.
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!
ACF wouldn’t be so widely used in WordPress if it didn’t have some pretty amazing capabilities. In this article, we look at a few of the features we’ll discuss during “7 things you didn’t know you could do with ACF” at #WPEDecode later this month. https://t.co/5lnsTxp81j pic.twitter.com/Yf0ThPG1QG— Advanced Custom Fields (@wp_acf) March 16, 2023
© 2023 Advanced Custom Fields.