<div class="col-md-6 col-sm-6" style="text-align:left;" ng-messages="myForm.CUSTOMER_TELS.$error">
<input type="text" class="control-btm input-sm form-control" name="CUSTOMER_TELS" id="CUSTOMER_TEL" ng-model="CUSTOMER_TEL" ng-trim="false" ng-maxlength="13" onkeyup="value=value.replace(/[^\d]/g,'')" required ng-pattern="/^$/" title="正确的电话号码格式"/>&nbsp;&nbsp;
<small><span class="label label-warning" ng-message="required">必填项</span></small>
<small><span class="label label-warning" ng-message="maxlength">字符太长大于13</span></small>
<small><span class="label label-danger" ng-message="pattern">输入有误,请重新输入</span></small>
</div>
<label class="col-md-1 col-sm-1 control-btm control-label muted" style="text-align: left;">
<a style="text-decoration: none;" class="glyphicon glyphicon-earphone text-green" data-toggle="modal" data-target="#telephone">+</a>
</label>


<form ng-submit="myFunc()">
<input type="text" required/>
<input type="text" required pattern="[A-Za-z]{3}" title="Three letter country code">
<input type="submit">
</form>


<!--<input class="form-control" size="16" type="text" id="TIME" style="width: 170px" placeholder="请在日历中选择" onkeyup="value=value.replace(/[^]/g,'')" required/>-->

 

posted on 2016-06-15 00:18  顺子2016  阅读(110)  评论(0编辑  收藏  举报