How do I get the total duplicates?
In Flutter, you used:
$fieldTotal = getGroupDuplicates ($fieldName);
However, this is returning "1" when I know there are 6.
It looks like the documentation on this isn't finished. Any help?
Thanks.
How do I get the total duplicates?
In Flutter, you used:
$fieldTotal = getGroupDuplicates ($fieldName);
However, this is returning "1" when I know there are 6.
It looks like the documentation on this isn't finished. Any help?
Thanks.
Okay, here's a solution. Maybe there is another, but this works.
$fieldName = "casestudy_gallery_image";
$fieldTotal = count(get_field_duplicate($fieldName));That didn't work for me, it looks more suited to Flutter than Magic Fields
For Magic Fields I used this:
$fieldName = "casestudy_gallery_image";
$fieldTotal = count($fieldName);This topic has been closed to new replies.