<select  onchange="select_virtual_feature();" 
         data-errormessage-value-missing=" " class="form-control validate[required, custom[classType]]"  
         name="class_type" id="class_type">
    <option value="0">Choose Class Type</option>
    <?php foreach ($virtual_classroom_type as $v_virtual_classroom_type) { ?>
        <?php
        $cls_type = $v_virtual_classroom_type->virtual_classroom_type;
        if ($cls_type == 1) {
            $cls_type = 'Live Broadcast';
        }
        if ($cls_type == 2) {
            $cls_type = 'Live Broadcast With Recording';
        }
        ?>
        <option value="<?php echo $v_virtual_classroom_type->virtual_classroom_type ?>"><?php echo $cls_type ?></option>
    <?php } ?>
</select>
