Hello I have developed a form where there are input box and select box. I want to give validation for both select box and input box . I am able to give validation for input box only.I am not able to give validation for select box with input box.
$(document).ready(function(){
$("#myform").validate();
});
<script src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.min.js"></script>
<form action="#" id="myform">
<label class="label1 col-md-4">Enter Template Name
<span class="required"> * </span>
</label>
<input id="templateName" type="text" data-required="1" class="form-control" />
</br>
<label class="label1 col-md-4">Enter Admission Year
<span class="required"> * </span>
</label>
<input id="admissionYear" type="text" data-required="1" maxlength="4" />
</br>
<label class="label1 col-md-4">Select the type of eligibility
<span class="required"> * </span>
</label>
<select id="reportsSelect" class="form-control" data-placeholder="Select" tabindex="1">
<option value="0">Choose</option>
<option value="overall">Overall</option>
<option value="specific">Specific subject</option>
</select>
</br>
<button type="button">Submit</button>
</form>