I am currently utilizing Bootstrap in order to implement some visual validation for the form fields:
<div class="span1" style="min-width: 20px;">
<input type="number" min="0.1" max="40" step="0.1" value="1" data-field="numberField" class="input-mini" style="width: 40px">
</div>
Is there a way for the text box to display a red highlight when the input is not numeric, or contains commas or dots (euro format)?