I\'m trying to implement validation by Bootstrap and I\'ve pasted the following sample on my page:
Validation has changed as of the Bootstrap 4 beta release.
The valid state selectors use the was-validated class which would be added dynamically after validating the form via client-side JavaScript. For example...
https://www.codeply.com/go/45rU7UOhFo
Update 2019 - Bootstrap 4.0.0
Form Validation Example Demo
As explained in the docs, if you intend to use server-side validation you can simply set the is-valid or is-invalid classes on the form-controls...