Validate a RTN (Routing transit number).
Option | Equivalent HTML attribute | Type | Description |
---|---|---|---|
message |
data-bv-rtn-message |
String | The error message |
RTN | Result |
---|---|
011103093 | |
067014822 | |
211274450 | |
211370545 | |
054001725 | |
011400071 | |
031201360 | |
026013673 | |
021302567 | |
053902197 | |
036001808 | |
011600033 |
<form id="rtnForm" class="form-horizontal">
<div class="form-group">
<label class="col-lg-3 control-label">RTN</label>
<div class="col-lg-5">
<input type="text" class="form-control" name="rtn" />
</div>
</div>
</form>
<script>
$(document).ready(function() {
$('#rtnForm').bootstrapValidator({
feedbackIcons: {
valid: 'glyphicon glyphicon-ok',
invalid: 'glyphicon glyphicon-remove',
validating: 'glyphicon glyphicon-refresh'
},
fields: {
rtn: {
validators: {
rtn: {
message: 'The value is not valid RTN'
}
}
}
}
});
});
</script>
Comments
If you want to report a bug, please submit the issue on Github. Do NOT post the issue here.
For a general question or feedback, use the form below.