Hi @mrdanx
I hope you’re well today!
This is related to ACF actually rather than Forminator. WordPress itself does not enforce any data format for custom fields and for some types of fields ACF stores data in specific format instead of just plain text. Forminator doesn’t have any built-in ACF-specific integration and it only passes raw plain text data to custom fields which results in incompatibility in such cases.
That being said, I’m assuming that you are using “postdata” field on the form, with form fields mapped to custom fields, right?
If so, you can try this custom code snippet:
https://gist.github.com/adczk/68db359343f68533d8df184b6ccccec7
To use it you’d need to add it to the site as a Must Use plugin:
– create an empty file with a .php extension (e.g. “forminator-acf-checkboxes.php”)
– and place it in the “/wp-content/mu-plugins” folder of your site’s WordPress install
– copy shared code and paste it into that file
– save the file.
Additionally, in this line of the code
$checkboxes = array( 'check' ); // list of ACF checkbox fields to be made compatible
you need to list (comma separated) names of your ACF checkbox fields. You’d need to use “field name” (as set in ACF field configuration) and not field labels.
Best regards,
Adam
Adam,
is this still the case? I am doing almost the same thing, but not using checkboxes rather “Select” fields for both ACF and Forminator. If the user selects a single entry on the form, it gets filed properly. If they select multiple entries then nothing is filed.
Hi @spollock
I hope you are doing well today.
As this thread is resolved please create a fresh one with us here https://ww.wp.xz.cn/support/plugin/forminator/#new-topic-0 so we can investigate your case separately.
Kind Regards,
Kris