Home › Forums › Front-end Issues › Use acf_form to build a form to edit particularly fields only › Reply To: Use acf_form to build a form to edit particularly fields only
You are correct. In this example I’m only allowing one field of a particular field group to be modified:
$options = array(
'field_groups' => array('group_55788c04bcfd8'),
'fields' => array('field_55788c13e6bf0'),
);
acf_form($options);
Getting the group key and field keys is easy and generally overlooked by a lot of people. Click on screen options. To see the group key show the post slug. Showing the field keys is a radio button.
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.