Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

207
Vistas
Input type date, disable a range of dates/holidays

I know it might not be possible to use only HTML5 and JavaScript Also, we can use custom validation but that won't make the dates disabled in the calendar. Still wondering if we can keep the basic HTML date picker styling but use some library like the JQuery date picker for disabling the holidays.

I'm currently using this input element,

<input type="date" class="form-control" id="datum" name="date" placeholder="" required min="<?php echo date("Y-m-d");?>" max="2022-04-16">

it's disabling all dates after April 16th but I need to disable only from 16th to 28th additionally if possible also disable past dates.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda