2
Code:
<input type="date" name="data" value="">
<input type="submit" class="success round button" value=""/>
I need that when I click the Ubmit button and the date field is blank it doesn’t let me submit. Have some mode in html even without JS to make this restriction ?
Have you tested by adding the attribute
required
? Thus: https://jsfiddle.net/spz8txma/– Sergio
It’s true rs, that’s all.
– KevinF