Support

Account

Home Forums General Issues Select choice : multiple if Reply To: Select choice : multiple if

  • 
    $value = get_field('select_field');
    if (in_array(array('A', 'B'), $value)) {
    	the_field('text_field_1');
    }
    if (in_array(array('A', 'B', 'C', 'D'), $value)) {
    	the_field('text_field_2');
    }
    if (in_array(array('B', 'C', 'D', 'E'), $value)) {
    	the_field('text_field_3');
    }