Home › Forums › Front-end Issues › Create Front End Form using Shortcode › Reply To: Create Front End Form using Shortcode
It should be possible. But I think you’d need to write your own short code function. Also, you’d have to make sure that acf_form_head();
is called before get_header();
in every template where a form could possible be added, alternately you could put the function call in header.php before any HTML output. I think the inclusion of the acf_form_head() function call is probably why ACF does not have a shortcode for adding front end forms.
There are other form plugins that can be used and you could create your own forms. The thing you need to make sure of when updating data yourself is to make sure that the field_key entry in postmeta is also created. More info on field_key and database entries can be found on this page http://www.advancedcustomfields.com/resources/get_field_object/
I’m pretty sure that some form plugins like Gavity Forms have add ons for ACF, don’t know about Formidable.
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.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.