<div class="form-group"> <label for="text">Number</label> <input type="text" class="form-control" smk-type="number" smk-min="2015" smk-max="2020" required> </div>