In the following form even though have added the attribute required do not see the validation done from bootstrap. Is there a way to add validation either from angularjs or bootstrap.The required field should turn the text box red if no values are entered in it.How to go about this
<form name="schoolform" class="add-school-form" novalidate>
<fieldset>
<div class="form-group">
<div class="form-group">
<div class="row row-no-padding">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<input class="form-control" id="rsummary" name="rsummary" type="text" value="" placeholder="Related Summary" ng-model="rsummary" required>
</div>
</div>
</div>
<div class="form-group">
<a class="btn pull-right" ng-click="create()">Create</a>
</div>
</div>
</fieldset>
</form>
Edit1:
<div class="row row-no-padding" ng-class="{ 'has-error' : schoolform.summary.$invalid && !schoolform.summary.$pristine }">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 vz_input">
<input class="form-control" id="summary" name="summary" type="text" value="" placeholder="Summary" ng-model="project.summary" data-fv-field="summary" required jira-type="input" data-type="str">
<p ng-show="schoolform.summary.$invalid && !schoolform.summary.$pristine" class="help-block">You name is required.</p>
</div>
</div>
<a class="btn pull-right" ng-click="create(schoolform.$valid)">Create Ticket</a>
$scope.create = function (isValid)
{
alert(isValid);
if (isValid) {
alert(isValid);//false
}
else{
//process the form
}
}