Home Input date Block all fields, unlock selected ones
Reply: 0

Input date Block all fields, unlock selected ones

user6001 Published in September 19, 2018, 9:46 am

I want to block almost all check boxes, I want only 2 and 4 days of the week to be available. Does anyone know how to do this?

Thank you for your help!

Currently have this code:

<input class="unstyled" type="date" id="datapicker">

const date = new Date();
currentDate = date.toISOString().slice(0,10);
document.getElementById('datapicker').value = currentDate;
document.getElementById('datapicker').min = currentDate;
share|improve this question
  • Could you provide sample code? On Stackoverflow it is expected that you will at least try to write your solution. – M. Twarog Apr 17 at 10:57
  • I updated question, rather he will not bring anything – Wojtar Apr 17 at 10:59

2 Answers 2

active oldest votes
up vote 0 down vote
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.36399 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO