83 comments found.
Do you have Korean language pack?
Hello,
yes, there’s a ko.min.js locale file, it is this one: https://imgur.com/a/tqYo7Xz
I hope it makes sense
Best, David
Hi, it would be good you add a option, so that by pick the date from.. to, the calendar will stay and not will be closed. I mean to select from..till in one step and not to open calendar 2 times
Hello,
Unfortunately at the moment is not possible, but I will check it out thank you for the suggestion!
Best, David
Hi can we disable full screen functionality in desktop version to just open calendar near text field as normal datepicker do.
Hello,
The plugin doesn’t have this feature out of the box, but you can add a condition in order to initialize one or the other, for example:
if(mobile){ $('#example_1').datepicker(); }else{ $('#example_1').datepickerInFullscreen(); }I hope this helps
Best, David
Hi, how to leave note “choose date” after you click clear button
Hello,
I’m not sure I understand, do you mean that after you click the “clear button” you want to keep the datepicker open? so you can choose another date?
after I click the “clear button”, input is empty, but i want there again to see input placeholder=”From date”
any update on this issue? thnks
Hello,
I uploaded the fix for this issue, it is currently being review by CodeCanyon, it should be ready in couple of hours, or if you need it right away you can contact me privately via email here: https://codecanyon.net/user/castleplugins#contact
Best, David
Hello dear; l would like to ask a question before i purchace; i have already a theme which is not compatible with “chauffeur booking system” so if l install it can i soilve the problem? if you want i can send you the link of my site thanks
Hello,
This is just an HTML plugin (not WordPress), and it only handles the datepicker
Best, David
I change the language to ‘zh-TW’ in the \datepicker_in_fullscreen\example\index.html. See the below: $(’#example_10’).datepickerInFullscreen({ format : ‘YYYY-DD-MM’, fakeInputFormat : ‘YYYY-DD-MM’, datepicker : { language : ‘zh-TW’ }, todayWord : ‘Hoy’, clearWord : ‘Vaciar’, closeWord : ‘Cerrar’, }); But it doesn’t work. How to fix it?
Hello,
did you also import the JS file for the zh-TW language in your page? (and before the bootstrap-datepicker file), as mentioned here: https://www.castlecodeweb.com/datepicker-in-fullscreen/documentation/#language
if still no luck, can you share the link to your site? so I can take a look?
you can contact me privately via email here: https://codecanyon.net/user/castlecode#contact
Best, David
Yes,I forgot to import the zh-TW language file. Thank you.
glad it worked
Hi,
2 questions…
When it is on the stage where it shows the years, I dont want to see 2019 and 2020. I only want to see the years from now (2021). How do I do that please?
Also the top bar showing the year range says 2020 – 2029. But the years being displayed are 2019 – 2030. This is a bit confusing. How do I fix this?
Thanks,
Cam
Hello Cam,
Unfortunately the datepicker doesn’t have options for this, you can “block” specific years, so the user is not able to select them, but you will still be able to see them (just disabled)
when you are in year view, it shows one year from previous set and one year from the next set (that’s why they are on gray).
Like when you are in a month, you can see few days from previous month and few days from next month
But there’s an alternative, you can tweak the JS code, in order to achieve something like this (although it may bring other bugs), if you want to give it a try, follow these instructions:
1) open the plugin/components/bootstrap-datepicker/bootstrap-datepicker.min.js file and replace the content of that file with the following: https://raw.githubusercontent.com/uxsolutions/bootstrap-datepicker/master/dist/js/bootstrap-datepicker.js
2) then in that file find this:
view.find('.datepicker-switch').text(startVal + '-' + endVal);and replace it for this:
view.find('.datepicker-switch').text((startVal-1) + '-' + (endVal+1));so now, instead of showing this:
2020 – 2029
it will show: 2019 – 2030
3) then find this:
var startVal = Math.floor(year / factor) * factor;and replace it for this:
var startVal = year;so now instead of starting at the beginning of each decade, it will start in the “defaultViewDate” option
4) so the final step would be pass the “defaultViewDate” of your choice, for example, if you want to see 2021 first, you would pass the following:
$('#example_6').datepickerInFullscreen({ format : 'YYYY', fakeInputFormat : 'YYYY', datepicker : { minViewMode: 2, /* view years (no days, no months) */ defaultViewDate : moment('2022-12-31').toDate(), }, todayWord : 'Today\'s Year', });note the defaultViewDate is on 2022
I hope this makes sense

Best, David
Good luck with your sales
thank you
Hi, is there any option through which I can highlight date which are selected by user on previous page
Hello,
By default the plugin doesn’t have this feature, but if you know some JS you can try customizing the plugin, for example, here: https://stackoverflow.com/a/47618001 they have an example on how to highlight some specific dates by using the beforeShowDay event, you can apply that method in the plugin like this:
$('#example_1').datepickerInFullscreen({ datepicker : { beforeShowDay: function (date) { console.log('here!'); } } });I hope this helps

Hi, Is there a way I can add heading on top of calendar table in full screen
Hello,
yes, you can modify the JS setting named “template”, you could add some content before the “datepicker-in-fullscreen” div, something like this:
template : ' <div class="datepicker-in-fullscreen-modal"> ' + ' <div class="datepicker-in-fullscreen-content"> ' + 'ADD SOMETHING HERE!!!!'+ ' <div class="datepicker-in-fullscreen"></div> ' + ' <div class="datepicker-in-fullscreen-controls"> ' + ' <a class="dpifs-today">{{today}}</a><a class="dpifs-clear">{{clear}}</a><a class="dpifs-close">{{close}}</a> ' + ' </div> ' + ' </div> ' + ' </div> '+Best, David
I’m using
var datestart1 = new Date(); datestart1.setDate(datestart1.getDate() + 7);
Works but how can I ensure that the date is in the timezone EST?
Hello,
Do you mean convert the date of the user to EST date? (in case the user is in different timezone?)
Also don’t forget to renew your support period, since it has expired
Best, David
Wont you release any new update to this?
Hello,
Do you mean for new features? at the moment I’m currently working on the update of another plugin, I’ll have to check on this one though
But if any bug or issue is reported I definitely update any of my plugins as soon as possible
Best, David
Hi Guys.. Great datepicker. Just wanted some help with posting the date value to a URL.. I got as far as:
onChange : function(modal, settings){ specialDate = $(this).datepicker( “getDate” ); document.location.href=’../admin/addItem01.php?specialdate=’+specialDate;
which opens the URL but doesnt supply the specialDate.. I presume its easy?
Thanks Nick
Hi Nick,
You can try something like this:
$('#example_1').datepickerInFullscreen({ onChange : function(modal, settings){ var specialDate = $('#example_1').val(); document.location.href='../admin/addItem01.php?specialdate='+specialDate; }, });I hope it makes sense,
Best, David
Hi, I bought your component (datepicker in fullscreen) and it works great, but I found I can’t reset the startdate and enddate after once initialed. I need to change the from-to dates after some conditions changed in the form, so I need some methods like basic bootstrap-datepicker’s “destroy” function to reset the whole component and initital it again.
Hello,
You can change the settings in the “beforeOpen” method, for example like this:
$('#example_1').datepickerInFullscreen({ beforeOpen : function(modal, settings){ if(some_condition){ settings.datepicker.startDate = from_date.format('YYYY-MM-DD'); settings.datepicker.defaultViewDate = from_date.format('YYYY-MM-DD'); } }, });I hope it makes sense

Hello, I think your script is great. But have a question. If I use daysOfWeekDisabled: [1]; hide all Mondays, is there a way to make a single Monday selectable? Thank you very much Markus
Hello Markus,
Ohh that’s a little bit tricky, instead of using the daysOfWeekDisabled option you would have to use something like this:
$('#example_1').datepickerInFullscreen({ datepicker : { beforeShowDay: function (date) { var daysOfWeekDisabled = [1]; var workingDays = ['2020-11-23']; var date = moment(date); if(workingDays.indexOf(date.format('YYYY-MM-DD')) > -1){ return { enabled : true }; }else if(daysOfWeekDisabled.indexOf(date.day()) > -1){ return { enabled : false }; } } } });I hope it makes sense

Thank you – that’s exactly what I was looking for
Hello, How can i disable all days in the past? on selectable from today ahead. thank you
Hi,
you could try something like this:
$('#example_1').datepickerInFullscreen({ beforeOpen : function(modal, settings){ settings.datepicker.defaultViewDate = moment().format('YYYY-MM-DD'); }, });Best, David
hi david, that does not work. all date in the past still selectable!
$('#example_1').datepickerInFullscreen({ beforeOpen : function(modal, settings){ settings.datepicker.startDate = moment().toDate(); }, });
Hi, Thanks for the plugin.
What is the format for the datesDisbaled array ? Your documentation says “formatted in the given date format” – But I’ve no idea what that means. In the examples here in the comments. Your date format is DD-MM-YYYY, yet the array strings are ‘dd/mm/yyyy’ . Could you please explain the format clearly – and maybe provide a better exmaple in yoru documentation.
In my case I have use format: ‘YYYY-MM-DD’, and my datesDisabled is [‘2020-08-20’,’2020-08-21’] yet this doesn’t work.
Thanks in advance.
Hello,
You can use either of these 2 options for the format:
$('#example_1').datepickerInFullscreen({ datepicker : { datesDisabled : [ '08/22/2020', moment('2020-08-25', 'YYYY-MM-DD').toDate() ], } });
I hope this makes sense

Best, David
Hi, we’re insterested in your plugin fullscreen datepicker. What about timepicker? Is it possible to choose the time also?
Thanks in advance
Hello,
Thank you for your interest
Unfortunately the plugin doesn’t support timepicker, only date
Best, David
Hello. Nice work! Can i use only day and month? Please show example.
Hello,
Do you mean if you can disable the year selection? if so then yes, it would look like this: https://drive.google.com/open?id=1XbED6qVkrLtwjsl30Roo2hetBgbKNvfl
You would only need to pass this JS setting:
datepicker : { maxViewMode: 1 },
Hi nice plugin. how can i achieve something like booking.com has. so you can select a time period. date from to. thanks
Hello,
We have an example in where you can choose from and till date, you can check it out here: http://www.castlecodeweb.com/datepicker-in-fullscreen/example/ the example is called “From and Till Date”
Best, David