FormValidation v0.8.1 is released, supports Bootstrap 4 alpha 3

step validator

Check if the value is valid step one

Validators

Options

Option HTML attribute Type Description
baseValue data-fv-step-base Float The base value, default to 0
message data-fv-step-message String The error message
step data-fv-step-step Float The step, default to 1
When setting options via HTML attributes, remember to enable the validator by setting data-fv-step="true".
The message and other options can be updated on the fly via the updateMessage() and updateOption() methods