We have a dynamic populated checkbox input that contains about 50-60 different values coming from a custom post type.
In the form you select the ones you want and we want to save that to a ACF field created for another CPT using the ‘Advanced Post Creation’ plugin.
However we only get the first 2 or 3 values (of 10+ selected) and then nothing. Another field setup the same gets no or also 2-3 values.
Also tried debugging the GF_Advanced_Post_Creation::maybe_set_post_meta and that just says ‘Empty value for Custom Field’. However the entry in GF is set correctly.
We can not find any solution. Did anyone ever run into the same issue?
Are you saying that the entry captures all selected choices but only 2-3 are mapped in the ACF field? If so, it seems likely something is getting wonky in the mapping to ACF.
If not, and the entry only has 2-3 choice as well, it sounds like you might not be using all the filters required to make sure the field is populated with your dynamic choices when the entry is captured on submission. See here:
If this is the issue, you might consider using our Populate Anything plugin which removes the clunky code and makes it a breeze to populate choices from pretty much anywhere.