i need some help please.
I need to output up to 4 values (comma separated) from a ACF checkbox in the frontend.
I created a custom field like in the documentation (https://www.advancedcustomfields.com/resources/checkbox/) with 4 values.
I use Avada template and the custom field plugin (https://codecanyon.net/item/custom-field-element-for-fusion-builder/22247344) to insert custom fields into pages.
If i use custom field tyoe “textfield” everything is displayed correct. If i use the ACF checkbox and display the values/labels in frontend it only shows “Array”.
Can you please tell me how to output multiple checked values from a ACF checkbox in the frontend.
You may not be able to. A checkbox field is stored as an array. You should direct your question to the developer of the plugin you’re using to display custom fields and how to deal with fields that are stored as arrays.