Validating data type
You can follow the information in this topic to validate data types.
Use
iscDataType directive for data type validation. For example,
<div class="col-sm-2 col-xs-3 form-group" ng-form="sampleForm">
<input type="text" name="qty" ng-model="orderLine.OrderLineTranQuantity.OrderedQty"
isc-datatype ng-blur="sampleForm.qty.$valid ? uiEditQuantity(orderLine) : null"
class="form-control quantity-box" />
<span ng-show="sampleForm.qty.$error.iscDatatypeValidator">
{{sampleForm.qty.$error.iscDatatypeValidator_msg}} </span> </div> For more information about the directive and service, refer to the javascript documentation available with the product.