Here is my html
<form name="sales">
<div class="sale-type">
<p>Which would you like to sell?</p>
<fieldset class="md-form form-group">
<input ng-model="art.originalForSale" name="originalForSale" type="checkbox" class="filled-in" id="checkbox2">
<label for="checkbox2">My Original ART</label>
</fieldset>
<fieldset class="md-form form-group">
<input ng-model="art.printForSale" name="printForSale" type="checkbox" class="filled-in" id="checkbox22">
<label for="checkbox22">Prints of my ART</label>
</fieldset>
</div>
<button type="submit" ng-disabled="sales.$invalid" class="btn-form btn-next c-sprite" alt="Submit"></button>
</form>
I want to display validation message that shows at least one check box required how can i do it
found a solution from this question How to require at least 1 checkbox for AngularJS Form Validation?
but it uses a script i want a solution without using scirpt
currently i am using
<span ng-show="part1.originalForSale.$error.required" class="error">Checkbox required</span>