Replies: 0
Hi there,
I’m encounting an issue for display pre-fill field that are in group on front page.
Is there a way to prefill fields that are in group ?
I can see in the database, fields use incrementing meta_key :
https://comsud.fr/advancedforms/db-snapshot.png
I’ve made a dump var of my post but nothing here to get this incrementing value.
https://comsud.fr/advancedforms/dump-var-of-post.png
Here is the form where i’m trying to prefill https://comsud.fr/advancedforms/display-form.png
My acf option :
https://comsud.fr/advancedforms/acf-option.png
The class with meta_key :
https://comsud.fr/advancedforms/my-class.png
And finaly the update function :
https://comsud.fr/advancedforms/update-function.png
I post everything to be most clarly. But the only goal is to pre-fill group fields on the front page. Maybe i’m doing it wrong way ?