Hi there @beng56
You can indeed set things up so your custom fields appear in your form on the frontend, and input is mapped to the corresponding custom fields in your post.
See the Custom Fields section in our Forminator <Post Data Field doc here for instructions on how to do that:
https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#post-data-field
But as you have discovered, getting your custom fields to display in your published posts would indeed require editing the template you’re using for your posts.
For example, if you’re using the ACF plugin to create your custom fields, you would want to include their field function for each field in your template:
https://www.advancedcustomfields.com/resources/the_field/
Cheers!
Patrick
Hi @beng56
I hope you are doing well and safe!
We haven’t heard from you in a while, I’ll mark this thread as resolved.
Feel free to let us know if you have any additional question or problem.
Best Regards
Patrick Freitas
Thread Starter
beng56
(@beng56)
Hi !
First of all, thanks for your answer and sorry for the late reply.
I managed to make it work, I can display the custom fields I want in the post. This is quite powerful. I’m facing some conditional logic issues as I’m including a lot in my forminator form but that part I will hopefully handle it on my side.
But I would like some help on a particular point. I’m having 2 data in my form which are basically the post category and the post tag. But I want to use them as conditional logic in my other fields. Until now, I have to ask 2 times the same data : once in post category and once in the field which allows the conditional logic (a checkbox field).
I see 2 options :
– manage to put conditional logic on post data category. I see a conditional field on post_data but I don’t know how this works as post_data contains several fields (title, content, …)
– hide and autofill category or tag based on a field value (the one I will actually be using for my conditional logic and which works fine)
Obviously I have matching lists (the category and my conditional field).
Any help ?
Thanks.
Best regards,
Benoit