{"id":8,"date":"2018-02-09T19:21:27","date_gmt":"2018-02-09T19:21:27","guid":{"rendered":"https:\/\/mgsdemo.mgscoder.com\/wp-plugins\/daterange-picker-plugin\/?page_id=8"},"modified":"2020-09-20T16:26:43","modified_gmt":"2020-09-20T16:26:43","slug":"date-range-picker","status":"publish","type":"page","link":"https:\/\/mgsdemo.mgscoder.com\/wp-plugins\/daterange-picker-plugin\/date-range-picker\/","title":{"rendered":"Date Range Picker"},"content":{"rendered":"<form id=\"reservationForm\" class=\"reservation-form\" name=\"reservationform\">\n<h4>Style-1 <strong>With Dropdown<\/strong><\/h4>\n<p><strong>Style with Dropdown and Date Format: MM-DD-YYYY<\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange\" class=\"form-control\" name=\"reservationdatedaterange\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-1-2 <strong>Without Dropdown<\/strong><\/h4>\n<p><strong>Style Without Dropdown and Short Calendar Label Text &#8211; Date Format: DD MMMM, YYYY<\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange1\" class=\"form-control\" name=\"reservationdatedaterange1\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-2 <strong>All <code>Past Days Disable<\/code><\/strong><\/h4>\n<p><strong>Style Without Dropdown and All Past\/Previous Days Disable<\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange2\" class=\"form-control\" name=\"reservationdatedaterange2\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-3 <strong>Show <code>Alert Box<\/code> for Selected date<\/strong><\/h4>\n<p><strong>On Clck Apply button will Show Alert Box <code>for Selected date<\/code><\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange3\" class=\"form-control\" name=\"reservationdatedaterange3\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-4 <strong>Set <code>minDate<\/code> &#8211; Active Date from the <code>Next Week<\/code><\/strong><\/h4>\n<p><strong>Style Without Dropdown and Set minDate &#8211; <code>Date Active<\/code> from the <code>Next Week<\/code><\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange4\" class=\"form-control\" name=\"reservationdatedaterange4\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-5 <strong>Format: MMMM DD, YYYY and set minDate<\/strong><\/h4>\n<p><strong>Style With Dropdown and Set minDate &#8211; Date <code>Active from the Next Week<\/code><\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange5\" class=\"form-control\" name=\"reservationdatedaterange5\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-6 <strong><code>Limited Time Offer<\/code> &#8211; Set minDate and maxDate<\/strong><\/h4>\n<p><strong>Set minDate and maxDate &#8211; Date Active for a <code>specific Date Range<\/code> (December Current Year)<\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange6\" class=\"form-control\" name=\"reservationdatedaterange6\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-6-2 <strong><code>Limited Time Offer<\/code> &#8211; Set minDate and maxDate<\/strong><\/h4>\n<p><strong>Set minDate and maxDate &#8211; Date Active for a <code>specific Date Range<\/code> (20 August &#8211; 20 September, 2027)<\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange6-2\" class=\"form-control\" name=\"reservationdatedaterange6-2\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-7 <strong>Predefined Ranges<\/strong><\/h4>\n<p><strong><code>Predefined Ranges<\/code> as Like: <code>Yesterday<\/code>, <code>Last 7 Days<\/code>, <code>Last 30 Days<\/code>, <code>Next 7 Days<\/code>, <code>This Month<\/code>, <code>Last Month<\/code><\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange7\" class=\"form-control\" name=\"reservationdatedaterange7\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-8 <strong>All Past Day Disable and <code>Short Calendar Label Text<\/code> with Selected Date Alert<\/strong><\/h4>\n<p><strong>All Past Day Disable and Short Calendar Label Text and On date select will Show Alert Box for Selected date<\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange8\" class=\"form-control\" name=\"reservationdatedaterange8\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-9 <strong>All <code>Past Day<\/code> &amp; <code>Apply Button Disable<\/code><\/strong><\/h4>\n<p><strong>With Dropdown <code>All Past Day Disable<\/code> and Apply\/Cancel Button Disable<\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange9\" class=\"form-control\" name=\"reservationdatedaterange9\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-10 <strong>All <code>Past Day &amp; Apply Button Disable<\/code> with Selected Date Alert<\/strong><\/h4>\n<p><strong>With Dropdown All Past Day Disable and Apply\/Cancel Button Disable On date select will <code>Show Alert Box for Selected date<\/code><\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange10\" class=\"form-control\" name=\"reservationdatedaterange10\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-11 <strong>Show <code>Week Numbers<\/code> and Week Start day: <code>Monday<\/code><\/strong><\/h4>\n<p><strong>Calendar Show <code>Number<\/code> of the Week<\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange11\" class=\"form-control\" name=\"reservationdatedaterange11\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-12 <strong>Date Limit (Limit maximum number of <code>selected Date<\/code>: here 10 Days)<\/strong><\/h4>\n<p><strong>In this example more than <code>10 days<\/code> select will not be <code>possible<\/code><\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange12\" class=\"form-control\" name=\"reservationdatedaterange12\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-13 <strong>TimePicker <code>12Hour<\/code><\/strong><\/h4>\n<p><strong>Calendar with 12 hour Clock<\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange13\" class=\"form-control\" name=\"reservationdatedaterange13\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-13-2 <strong>TimePicker <code>24Hour<\/code><\/strong><\/h4>\n<p><strong>Calendar with 24 hour Clock<\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange13-2\" class=\"form-control\" name=\"reservationdatedaterange13-2\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-14 <strong>Calendar in <code>French<\/code> Date Format: DD\/MM\/YYYY<\/strong><\/h4>\n<p>For Language Change please check <a href=\"https:\/\/docs.mgscoder.com\/daterange-picker-documentation\/\" target=\"_blank\" rel=\"noopener noreferrer\"><code>Online Documentation<\/code><\/a><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange14\" class=\"form-control\" name=\"reservationdatedaterange14\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-14-2 <strong>Calendar in <code>French<\/code> Date Format: DD MMMM, YYYY<\/strong><\/h4>\n<p>For Language Change please check <a href=\"https:\/\/docs.mgscoder.com\/daterange-picker-documentation\/\" target=\"_blank\" rel=\"noopener noreferrer\"><code>Online Documentation<\/code><\/a><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange14-2\" class=\"form-control\" name=\"reservationdatedaterange14-2\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-15 <strong>Default value <code>Blank<\/code> and Week Start day: <code>Saturday<\/code><\/strong><\/h4>\n<div class=\"form-group\"><input id=\"reservationdatedaterange15\" class=\"form-control\" name=\"reservationdatedaterange15\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-16 <strong>Set <code>startHour<\/code> and <code>endHour<\/code> Only for <code>24hours<\/code> mode<\/strong><\/h4>\n<p><strong>As like Office Opening Hour. Here Opening Hour: <code>9 - 17<\/code><\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange16\" class=\"form-control\" name=\"reservationdatedaterange16\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-17 <strong>Enabled <code>Hours<\/code> Only for <code>24hours<\/code> mode<\/strong><\/h4>\n<p><strong>As like Opening Hours: <code>8-14 &amp; 17-22<\/code><\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange17\" class=\"form-control\" name=\"reservationdatedaterange17\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<h4>Style-18 <strong>Set Booking active <code>after 16 hours<\/code> from <code>current time<\/code> and Set <code>startHour<\/code> and <code>endHour<\/code><\/strong><\/h4>\n<p><strong>Time enable <code>after 16 hours<\/code> from the <code>current time<\/code> and Here Start Hour: <code>9<\/code> and end Hour: <code>17<\/code><\/strong><\/p>\n<div class=\"form-group\"><input id=\"reservationdatedaterange18\" class=\"form-control\" name=\"reservationdatedaterange18\" readonly=\"readonly\" required=\"\" type=\"text\" \/><\/div>\n<p><!-- end form-group --><\/p>\n<\/form>\n","protected":false},"excerpt":{"rendered":"<p>Style-1 With Dropdown Style with Dropdown and Date Format: MM-DD-YYYY Style-1-2 Without Dropdown Style Without Dropdown and Short Calendar Label Text &#8211; Date Format: DD MMMM, YYYY Style-2 All Past Days Disable Style Without Dropdown and All Past\/Previous Days Disable Style-3 Show Alert Box for Selected date On Clck Apply button will Show Alert Box [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/template-daterange-picker.php","meta":{"footnotes":""},"class_list":["post-8","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mgsdemo.mgscoder.com\/wp-plugins\/daterange-picker-plugin\/wp-json\/wp\/v2\/pages\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mgsdemo.mgscoder.com\/wp-plugins\/daterange-picker-plugin\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mgsdemo.mgscoder.com\/wp-plugins\/daterange-picker-plugin\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mgsdemo.mgscoder.com\/wp-plugins\/daterange-picker-plugin\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mgsdemo.mgscoder.com\/wp-plugins\/daterange-picker-plugin\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":3,"href":"https:\/\/mgsdemo.mgscoder.com\/wp-plugins\/daterange-picker-plugin\/wp-json\/wp\/v2\/pages\/8\/revisions"}],"predecessor-version":[{"id":1351,"href":"https:\/\/mgsdemo.mgscoder.com\/wp-plugins\/daterange-picker-plugin\/wp-json\/wp\/v2\/pages\/8\/revisions\/1351"}],"wp:attachment":[{"href":"https:\/\/mgsdemo.mgscoder.com\/wp-plugins\/daterange-picker-plugin\/wp-json\/wp\/v2\/media?parent=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}