The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group
select form id from acf dropdown
i am a big fan of formidable pro AND advanced custom fields
I always try to keep my pages and posts save. save for the customers! and inserting a form as a shortcode into the editor is NOT save!
therefore i prefer acf to provide dropdown fields where one customer can choose a value from. i take this value and load a function in my theme file.
but the problem is, that there is no way to get any relation between acf and formidable. therefore i have a tiny but working hack!
1. in acf create a field "forms" from type "select"
2. paste this code in your themes functions.php
http://pastebin.com/embed_iframe.php?i=EaKgQceL
after that, the acf select field gets auto populated with the forms name and id as value. see the attached screenshot…
now the editor keeps clean with text only and the customer can load the desired form!
September 1, 2015 at 8:44 am
Hello, great solution but I'm not able to make it work with ACF 5 and Formidable 2... Any idea?
September 1, 2015 at 10:25 am
are you sure? look here http://support.advancedcustomfields.com/forums/topic/trick-retrieve-formidable-pro-forms-in-acf/#post-29564
Discussion closed.