diff --git a/index.html b/index.html index 9bd310e..1ed7e35 100644 --- a/index.html +++ b/index.html @@ -22,11 +22,12 @@ @@ -38,6 +39,9 @@ id="input_from" type="time" name="from" placeholder="--:--" + class="invalid" + required + pattern="[0-9]{4}:[0-9]{2}.*" onchange="timechanged()">