"Validation Form"
Bootstrap 4.1.1 Snippet by jeevan123456

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="block-title">Validation + Additional Info</div> <div class="list no-hairlines-md"> <ul> <li class="item-content item-input item-input-with-info"> <div class="item-media"> <i class="icon demo-list-icon"></i> </div> <div class="item-inner"> <div class="item-title item-label">Name</div> <div class="item-input-wrap"> <input type="text" placeholder="Your name" required validate> <span class="input-clear-button"></span> <div class="item-input-info">Default "required" validation</div> </div> </div> </li> <li class="item-content item-input item-input-with-info"> <div class="item-media"> <i class="icon demo-list-icon"></i> </div> <div class="item-inner"> <div class="item-title item-label">E-mail</div> <div class="item-input-wrap"> <input type="email" placeholder="Your e-mail" required validate> <span class="input-clear-button"></span> <div class="item-input-info">Default e-mail validation</div> </div> </div> </li> <li class="item-content item-input item-input-with-info"> <div class="item-media"> <i class="icon demo-list-icon"></i> </div> <div class="item-inner"> <div class="item-title item-label">URL</div> <div class="item-input-wrap"> <input type="url" placeholder="Your URL" required validate> <span class="input-clear-button"></span> <div class="item-input-info">Default URL validation</div> </div> </div> </li> <li class="item-content item-input item-input-with-info"> <div class="item-media"> <i class="icon demo-list-icon"></i> </div> <div class="item-inner"> <div class="item-title item-label">Number</div> <div class="item-input-wrap"> <input type="text" placeholder="Enter number" required validate pattern="[0-9]*" data-error-message="Only numbers please!"> <span class="input-clear-button"></span> <div class="item-input-info">With custom error message</div> </div> </div> </li> </ul> </div>

Related: See More


Questions / Comments: