Before anything else, let me clarify that I am not inquiring about creating tooltips from scratch using Bootstrap's javascript guide, which can be found in the documentation.
I recently utilized type="email"
with version v3.3.1
. It automatically validated and displayed impressive tooltips for incorrect email
entries. I am interested in expanding this function to custom fields (type="text"
and so forth) with minimal code requirement. Despite reviewing Bootstrap's documentation, I could not find any relevant information.
I am curious if there is an option similar to formvalidation.io for validation purposes without having to write extensive amounts of javascript combined with the aforementioned tooltip style.
I am able to work with javascript, but I am open to exploring more efficient methods if they exist.
At present, my form
is very basic, without any tooltip javascript, and it functions as follows:
<form ng-submit="submit()">
<!--<input type="hidden" name="_token" value="{{ CSRF_TOKEN }}">-->
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" ng-model="data.email" id="exampleInputEmail1" placeholder="Enter email">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" ng-model="data.password" id="exampleInputPassword1" placeholder="Password">
</div>
</form>