In this tutorial we will show you how to add validation rules to your forms, using only native HTML input attributes.
To demonstrate the process of creating validation rules, we have prepared a simple HTML registration form using Bootstrap 4. You can click the image below to open a live demo.
Our design consists of a Bootstrap form with a couple of input fields and a submit button. For this example we have used 3 different types of input fields – a text input, a password input, and an email input.