Thank you for the video. It was informative. I've searched and searched but can't seem to find anything on how to limit a date selector of 7 days. I'm adding an appointment form where one should only have the option of selecting from the current day up to 7 days out. Can anyone provide any info on how to do that task? Or is it too complex for HTML5 to handle that I need to use a jquery/js/library/ to do it?
Sorry for the late reply. I looked up the documentation on this at developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date. The displayed format is dependent on the locale of the user.
Just want to let the creator know: I stopped the video after 35 seconds, because imho this a totally wrong approach: You got something that doesnt work in all browser - now instead of simplifying what you have (ex. that over complicated bootsrap 4 or 5 consisting of 25 000 lines of css [of which you are using only 50], plus 10 sheets js mainly for stupid animations that no one needs, plus ... plus ...) , YOU WANT TO ADD MORE CRAP ! Modinezer yes, you should use that at the beginning of your css, BUT that download-version you can shorten and simplify to a few lines, mainly to reset browser magins and paddings etc. - ONE STYLSHEET, less than 600 lines is eough to realize any project, including slider-styling, form-styling etc. Simply put: LESS IS BETTER !!! The more crap you add to your project, the more problems you (the developer) is going to have AND the user (visitor of website) benefits from none of this. goobye
I appreciate your comment. The intent of the video is to help those who are just starting out and struggling with how to get a date time picker added, when not all browsers support it. But you stopped at 35 seconds so....again thanks for the comments.
Thank you for the video. It was informative. I've searched and searched but can't seem to find anything on how to limit a date selector of 7 days. I'm adding an appointment form where one should only have the option of selecting from the current day up to 7 days out. Can anyone provide any info on how to do that task? Or is it too complex for HTML5 to handle that I need to use a jquery/js/library/ to do it?
Can you somehow change the default date Format of the datepicker to yyyy-mm-dd? Without having to use jquery?
Sorry for the late reply. I looked up the documentation on this at developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date. The displayed format is dependent on the locale of the user.
ufff la verdad gracias por mostrar tantos tipos de inputs
why don't you show the full pollyfill code at 7:59
Just want to let the creator know: I stopped the video after 35 seconds, because imho this a totally wrong approach:
You got something that doesnt work in all browser - now instead of simplifying what you have (ex. that over complicated bootsrap 4 or 5 consisting of 25 000 lines of css [of which you are using only 50], plus 10 sheets js mainly for stupid animations that no one needs, plus ... plus ...) , YOU WANT TO ADD MORE CRAP !
Modinezer yes, you should use that at the beginning of your css, BUT that download-version you can shorten and simplify to a few lines, mainly to reset browser magins and paddings etc. - ONE STYLSHEET, less than 600 lines is eough to realize any project, including slider-styling, form-styling etc.
Simply put: LESS IS BETTER !!!
The more crap you add to your project, the more problems you (the developer) is going to have AND the user (visitor of website) benefits from none of this.
goobye
I appreciate your comment. The intent of the video is to help those who are just starting out and struggling with how to get a date time picker added, when not all browsers support it. But you stopped at 35 seconds so....again thanks for the comments.