3 ms·
Doesn't using the gov.uk article work fine for issues 1, 2, and 4? <input required type="text" inputmode="numeric" pattern="-?[0-9]+" title="Integers only"
by hn92726819 4y ago
Doesn't using the gov.uk article work fine for issues 1, 2, and 4?
<input required type="text" inputmode="numeric" pattern="-?[0-9]+" title="Integers only" />
<input required type="text" inputmode="numeric" pattern="-?([0-9]+|[0-9]*\.[0-9]+)?" title="Decimal numbers only" />
<input required type="text" inputmode="numeric" pattern="[0-9]*(\.[0-9]+)?" title="Positive decimal numbers only" />