I am trying to figure out a pattern for html and I can't get it to work...
As the result I am looking for something lower than this number: "12.50"
<input type='text' class='form-control' name='wrap' id='wrap' placeholder='0.00' pattern='^([1-9]|1[012]+[.]+[0-5]+[0])$' required>
I am expecting the first number to be a number between 0-12, after that the "." and after that a number between 0-5 and at the end just the 0.
It works if I only have the 0-12 regex, but when I add the pattern for the period and the rest, it brakes and is not working.