by treeface9000 · 3y ago · 0 comments
<input type="date" min="0001-01-05" step="7" value="2023-07-03"> // valid for all Fridays starting 1AD
Then you can use some css when invalid: input:invalid { background: red; }
or whatever other styling you want, maybe slap some content on another element... you get the point
No comments yet.