Skip to:
Content
Pages
Categories
Search
Top
Bottom

show checkbox profile data in groups


  • olafnekeman
    Participant

    @olafnekeman

    Hi,

    I’m trying to show checkbox data in a groups loop. I have the following function in which works for textboxes but not for multicheckboxes

    	
    if ( xprofile_get_field_data( 'Jouw 06', $user_ID ) ) :
    echo xprofile_get_field_data( 'Jouw 06', $user_ID );
    endif;
    

    anyone help?

Viewing 1 replies (of 1 total)

  • olafnekeman
    Participant

    @olafnekeman

    never mind, got it working. the code is:

    $myfield = xprofile_get_field_data( 'Beschikbare Dagen', $user_ID, $multi_format = 'comma' );
    $data = xprofile_format_profile_field('checkbox', $myfield);
    echo $data;
    
Viewing 1 replies (of 1 total)
  • The topic ‘show checkbox profile data in groups’ is closed to new replies.
Skip to toolbar