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

Input date Block all fields, unlock selected ones

user484
1#
user484 Published in April 22, 2018, 10:10 pm

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;
You need to login account before you can post.

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

© 2016 Powered by mzan.com design MATCHINFO