<select onchange="selectAttendees(this.value);"
        data-errormessage-value-missing=" " 
        class="form-control validate[required, custom[classPerDay]]"
        name="virtual_classroom_per_day" id="virtual_classroom_per_day">
    <option value="0">Choose class per day</option>
    <?php foreach ($virtual_classroom_per_day as $v_virtual_class_per_day) { ?>
        <option value="<?php echo $v_virtual_class_per_day->virtual_classroom_per_day; ?>"><?php echo $v_virtual_class_per_day->virtual_classroom_per_day; ?></option>
    <?php } ?>
</select>