Validators / sedol

Edit on Github

Validate a SEDOL (Stock Exchange Daily Official List).

Option Equivalent HTML attribute Type Description
message data-bv-sedol-message String The error message

Example

SEDOL Result
0263494
B0WNLY7
<form id="sedolForm" class="form-horizontal">
    <div class="form-group">
        <label class="col-lg-3 control-label">SEDOL</label>
        <div class="col-lg-5">
            <input type="text" class="form-control" name="sedol" />
        </div>
    </div>
</form>
<script>
$(document).ready(function() {
    $('#sedolForm').bootstrapValidator({
        feedbackIcons: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            sedol: {
                validators: {
                    sedol: {
                        message: 'The value is not valid SEDOL'
                    }
                }
            }
        }
    });
});
</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.