Support

Account

Home Forums General Issues Multiple values with one label with checkbox choices Reply To: Multiple values with one label with checkbox choices

  • Don’t worry, I sorted it using str_split.

    So I entered adaeafagaialam : Europe

    Then split the string to create a new array called – $rmcwordwidearray
    Then requested that the split be every 2 characters which then gives me the country code.
    $rmcwordwide = get_field('rights_management_control_by_europe', $post->ID);
    $rmcwordwidearray = str_split($rmcwordwide,2);

    It would be nice if ACF could allow separation by pipe or semicolon which then splits and turns them into an array.

    I’m happy πŸ™‚