bootstrap invalid textbox code example
Example 1: bootstrap form-control inline
<div class="form-group">
<label for="birthday" class="col-xs-2 control-label">Birthday</label>
<div class="col-xs-10">
<div class="form-inline">
<div class="form-group">
<input type="text" class="form-control" placeholder="year"/>
</div>
<div class="form-group">
<input type="text" class="form-control" placeholder="month"/>
</div>
<div class="form-group">
<input type="text" class="form-control" placeholder="day"/>
</div>
</div>
</div>
</div>
Example 2: bootstrap email address validation
<form>
<div class="form-group">
<label for="InputEmail">Email address</label>
<input type="email" class="form-control" id="InputEmail" placeholder="Enter email">
<small class="form-text">We'll never share your info.</small>
</div>
<div class="form-group">
<label for="Password">Password</label>
<input type="password" class="form-control" id="Password" placeholder="Password">
</div>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="Check">
<label class="form-check-label" for="Check">Check out</label>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>