Validate a RTN (Routing transit number).
| Option | 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>$(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'
}
}
}
}
});
});The following validators might be useful to you: