Closed ghost closed 11 years ago
First of all, did you update to the latest 2.0 version? The shortcode syntax changed.
To restrict past dates you can use the min-date
attribute like so: min-date:today
or min-date:1
You can also add a number of days to that like: min-date:today-4
or simply min-date:-4
You can read more about the available options here
Yes, I updated to 2.0 the other day when it was released. Where do I insert the short codes?
Use the date field generator or simply add those attributes to your
existing [date]
shortcodes like so: [date someid min-date:today]
On Sat, Dec 8, 2012 at 4:09 PM, ccwadsworth notifications@github.comwrote:
Yes, I updated to 2.0 the other day when it was released. Where do I insert the short codes?
— Reply to this email directly or view it on GitHubhttps://github.com/relu/contact-form-7-datepicker/issues/24#issuecomment-11159014.
Aurel Canciu +40740208777
Thank you for your response, however I'm not sure what you're referring to. I don't see a date field generator. I did type "min-date:today" in the Attributes field in the Contact Form but that didn't solve the issue.
That is not contact-form-7-datepicker.
On Sat, Dec 8, 2012 at 10:37 PM, ccwadsworth notifications@github.comwrote:
Thank you for your response, however I'm not sure what you're referring to. I don't see a date field generator. I did type "min-date:today" in the Attributes field in the Contact Form but that didn't solve the issue. [image: contactform7.png]https://f.cloud.github.com/assets/2904789/2022/19bac6aa-4177-11e2-8837-152c700e5efd.png
— Reply to this email directly or view it on GitHubhttps://github.com/relu/contact-form-7-datepicker/issues/24#issuecomment-11163282.
Aurel Canciu +40740208777
my apologies! no, it isn't! It's Fast Secure Contact Form! but I am using your DatePicker plugin to generate the pop-up calendar. I'm sorry to have bothered you...
No worries, at least you sorted it out :)
On Sat, Dec 8, 2012 at 10:52 PM, ccwadsworth notifications@github.comwrote:
my apologies! no, it isn't! It's Fast Secure Contact Form! but I am using your DatePicker plugin to generate the pop-up calendar. I'm sorry to have bothered you...
— Reply to this email directly or view it on GitHubhttps://github.com/relu/contact-form-7-datepicker/issues/24#issuecomment-11163435.
Aurel Canciu +40740208777
hello sir , i have been taken two date field , they are depending on each other. how to deal second date feild value is max than first one in CF-7 data picker
I have 3 date ranges Start date ,End date and Work date ..
Condition : end date should not be select the past date from start date means , start date is not greater than end date, End date is not less than Start date Work date is not less than End date how to do on CF7 ?
Hello - I would like the calendar to block dates past. Could you help me modify that please? Many thanks!