Home › Forums › Front-end Issues › Front End update form › Reply To: Front End update form
Bonjour,
je viens de tout reprendre afin de voir ce qui ne marche pas.
J’ai simplifié au maximum.
$user_ID = get_current_user_id();
acf_form(array(
'field_groups' => [12495],
'post_id' => 'user_' . $user_ID,
'submit_value' => __('Mettre à jour', 'acf')
));
J’ai bien ajouté la balise
acf_form_head ();
get_header ();
Les données s’affichent dans mon formulaire.
Mais l’enregistrement lors de la mise à jour e fonctionne pas et je ne comprends pas pourquoi …
Voici la structure de mon groupe de champs
et le rendu visuel
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!
Our guide looks into WordPress custom fields and how they stack up against the possibilities of ACF.
— Advanced Custom Fields (@wp_acf) July 18, 2022
https://t.co/hk3yibkHyk
© 2022 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.