Hello,
I have a page with a form (contact form 7) and a single input ’email’.
When i click on ‘SEND’ button, i want to create a new post like the method on this page using acf form to create a new post and update this post with this input.
I don’t want to use ‘acf_form( $args )’… i don’t need all the input in this form…
I thank you !!
Hi @dotmastaz
The filter ‘acf/pre_save_post’ is only available by using the acf_form function. To hook into the contavy form 7 save action, you will need to read over their documentation / contact their support team.
Thanks
E
Ok and thank you…
When i use acf_form, how to just display ’email’ field in my fields group ?
And not all the fields ?
Hi @dotmastaz
Currently, you will need to hide the fields using JS or CSS.
I’ll have a think about adding in some options to load specific fields!
Thanks
E