JavaScript Library to add Optional or Required to Html inputs
Just include the libraray in page you want to add [ * ] for required or (optional)
<script src="html_required_input.js" ></script>
Then
validateInputs();
if you want to skip validate jus add class no-validate
to label
if you want to enforce required star just add class validate-required
to label