Coder Social home page Coder Social logo

relu / contact-form-7-datepicker Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 34.0 432 KB

Datepicker for Contact Form 7 Wordpress Plugin based on JQueryUI's datepicker (NO LONGER MAINTAINED)

Home Page: http://wordpress.org/plugins/contact-form-7-datepicker/

PHP 100.00%

contact-form-7-datepicker's People

Contributors

baden03 avatar imelgrat avatar relu avatar sanidm avatar szepeviktor avatar xsonic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contact-form-7-datepicker's Issues

unable to set onfiguration options: current date (before or or after)

while going through your code , in previous version you added up a functionality where user can only select present and future dates.

I dont see that option in the latest while since you started using jquery date picker.

is that functionality still present?

can you pint me in right direction or hack that could fix this issue for date picker.

(1) i dont want the user to select previous dates apart from today and future.

0.4
Added new configuration options:
limit selectable dates according to current date (before or or after)
available years range option
the posibility to show/hide the month and year controls (forward/backward)

Date picker does not pop-up when clicking the field

Hi!

Can you take a look at my site please?

Don't understand. Running latest wordpress 3.5.1. But I can't get the date picker to show/pop-up.

http://xn--festvningstockholm-8tb.com/lokal/dalaro/

[sb name="TitleTT"]

Självklart helt gratis att skicka offertförfrågan!

[text* your-name watermark "Ditt namn"]

[email* your-email watermark "Epost"]

[text text-580 watermark "Telefon"]

[select menu-178 "Typ av fest (välj)" "Vanlig fest" "Fördelsedag" "Bröllop" "Kickoff" "Annat företagsevent"]

[text text-528 60px watermark "Antal gäster"]

[date date-799 date-format:mm/dd/yy year-range:2013-2015 first-day:1 change-month "Datum"]

[dynamichidden dynamichidden-669 "sb name='Contact7TitelLokal'"]

[submit "Skicka förfrågan"]

Disabling weekends from date picker.

Hi guys, ive followed the instructions already suggested for disabling specific days but i cant seem to get it to work. All i want to do is disable weekends from the date picker.

Ive tried the following code in the wordpress header and in the contact form 7 designer.

$("#collect-date").datepicker({
beforeShowDay: function(date) {
var day = date.getDay();
return [(day != 1 && day != 2)];
}
});

But however i try it still shows weekends on the date picker.

Any suggestions?

Wordpress version: 3.5.1
Contact form 7 version: 3.3.3
Date Picker version: 2.2.1

I appreciate any help.

watermark

Is there a way to enter watermark text, like in the rest of the Contact Form 7 plugin?

Datepicker Calendar Not Showing in Child Theme

I am using a child theme (parent is Avisio). The calendar pop-up doesn't show when using the child theme but does if the parent theme is used. The date field and any formatting show in the form when using the child theme, it's just the pop-up calendar not showing.

Can you think of a way to enable the pop-up in the child theme?

Andy

date code not sending dates when used in email fields

I'm using the same date codes in the mail to section of ContactForm7 and the dates picked are not being emailed.

eg. Subject=Room Availability Enquiry ([date checkin-date] - [date checkout-date]) for [RoomChoice]
returns Room Availability Enquiry ([date checkin-date] - [date checkout-date]) for Standard Queen.

What am I missing?

Doesn't show with AJAX

Hi guys!
I have a problem with show datepick in different tags or section on the same page. This is an example of idea http://jqueryui.com/demos/tabs/default.html (but i using a wordpress theme)
So, i can only view the calendar in the first tag but doesn't show in the second.
Please, i hope you answer very soon.

Can't Get the Date From the Calendar to Pass Through

The date (11-25-2012) is populated into the CalendarDate field okay when you click on a day in the Calendar, but then the contents of the CalendarDate field does not pass through the FORM when the submit button is pressed. I know the FORM code is working because when I disconnect the DatePicker code from the FORM and then just manually enter a date into the CalendarDate field, the information passes through the FORM just fine like its suppose to.

http://96.125.160.22/~prairie/datepicker3

value

hi,

there is a problem in my installation of Wordpress 3.2.1 and CF7 version 3.0.1.

I want to show a value like:

[date* arrival ("Arrival ")]

in a cf7 form

it does't show any value. What is wrong? Is it a Bug?

thanks for an answer

alex

watermark class removal might interfer with custom function

On the last commit you added this:
function generate_code, datepicker.php

        // Remove watermark class onSelect
        $out .= ".datepicker('option', 'onSelect', function(){ $(this).removeClass('watermark'); });\n";

I had a working external js that used the ".mydate" on other places, it is not working now. Something like this:

$('input.mydate').change(function () {
  alert($(this).datepicker('getDate'));
});

hide past dates

Hello - I would like the calendar to block dates past. Could you help me modify that please? Many thanks!

How to make the date required

When I add a date field it is like this [date date-910] when selecting the required option it is changed to this [date* date-910].
But when testing the this field it is still not required field.

I have been searching the net now for more than 1 hour whit no solution. I did found two posts on this subject but the are telling to do what I am already doing.

Dose anybody know why this is not working?

Limit Dates To

Did you remove the 'Limit Dates To' parameter?
In 0.7.3 you could set it to 'today and future', 'today and past' and 'no limit'.

disable past dates

Hello
I would like to ask how i disable past dates on datepicker?
Thanks in advance

Kostas

Does datepicker provide time of day as well?

Hi there,

When I search for datepicker, it is tagged as also being related to timepicker? But I can't find a timepicker. How do I provide access to a timepicker with Contact Form 7?

Cheers,

Only Version 0.7.4 will work for me

Every time I upgrade to version 2.2.1 the datepicker disappears from my form where its working great on Version 0.7.4 - what has changed? I presume its a jQuery conflict but there is no option to not load jQuery again and with the testing i did to only load one jQuery script it still didnt work (tho i shows in the admin when i create a form)

Any help appreciated?

Changing Date Format via value - RESOLVED

I see that the date can be structured differently using "value".

I set the following up, however it did not change the format:
[date value:MM-DD-YYYY]
[date value:m-d-Y]

Using quotes breaks the field, so I assume that was not intended in the FAQ / readme.

Would you clarify how this should be setup? I am using 3.4.2 in case that is a factor.

Thanks.

Date not showing in email

Hi, I'm using your datepicker in my contact form 7on a new wp install. (3.2.1) The date picker shows up and seems to work fine in the contact form , but in the email sent to me it isn't getting shown. I've added the codes to the relevant email sections in CF7

IE trouble

Hi Aurel,
In IE the date is not taking, meaning the calendar opens but no matter what button is selected, date, move month forward, it just closes and no date is chosen. works fine in Firefox and on my phone.
It also, when open, opens beneath any text box, select box whatever. Saw the same problem on a site in a previous issue here.
Heres a link
http://www.andersen8496.com/?page_id=10

changing settings on Datepicker plugin

Hello,

This is a great little feature to the contact form7 plugin. Is there any way to add parameters to the datepicker js? What I would like to do is have the ability to remove the year forward/back buttons. And not allow the user to click on a date in the past. Is this possible?
Many thanks

Datepicker not showing in Multisite

Really nice plugin, had it running fine locally, but when I ported the site over to a Multisite installation, it's not showing up in the form–I just get a text field. Does the plugin work with Multisite?
Thanks.

Can't Get It To Work Outside CF7

Hi Relu

Have downloaded the plugin and tried to use the shortcode on a couple of sites ... neither works. (Appears same as if plugin deactivated ... just shows the [datepicker name="test"] shortcode.

The two sites I've tried on have different themes (Atahualpa and BuddyPress default), so fairly sure at least one of them has wp_footer() in the footer, though to be honest I haven't actually double checked!

I've left it on a 'test site' so you can see what I'm seeing, if it's at all helpful at http://www.compare-stuff.co.uk/test/79/test/

Am I missing something really simple or obvious? Desperate to use this plugin! Been trying to get day, month and year strings into one for hours ... (days now actually!) and I'm failing miserably! :-(

Best regards ... and abject pleas for help! :-)

Michael

Contact Form 7 Wordpress Plugin

Hello,

I have used this great plugin on one website good few months ago and it was working fine. However recently I was told calendar date was visible on the bottom of the page even when the calendar date field was not clicked.
I have activated and actived form again. Gave datepicker different skin to refresh it and since then it does not come up at all.

Would you be able to tell what might have gone wrong that popup calendar does not work right now?
I have checked in IE and chrome - same issue

Thanks
Martin

"Options could not be saved" error message

If you try to click on the "save" button inside Datepicker Theme of CF7 page, if the theme selected is the theme previously saved it returns the error "Options could not be saved.".

It's a bit misleading because it looks there's any type of error to solve, but it's just because you have selected a theme already choosen and the update fails.

Date Format dd/mm/yy displays as invalid where day > 12

Hi,

I have a date field in CF7 that is defined as:

Date of course
[date* CourseDate date-format:dd/mm/yy]

However, it rejects any days > 12 e.g 15/03/13

I've also tried

Date of course
[date\* CourseDate date-format:dd/mm/yyyy]

but this also generates an error.

Second datepicker min-date to be date selected of First datepicker

Hi Relu,

Firstly thank you for such a great plugin.
I'm building a reservation form and I need Arrival and Departure datepicker fields. What I would like is to relate second datepickers min-date to the date selected in the first datepicker form field.
I guess a little javascript is needed to do this. Could you suggest how can I achieve this with minimum disruption to the plugin?

Thanks

Date validation does not work with international date formats

I am Spanish and the date format in Europe is dd/mm/yy. That is how is formatted in the field on contact form 7, but the validator seems to validate it as mm/dd/yy, so if I wan't to pick the 20th of January, and click on 20/01/2013 on the calendar, the validator says that this date is incorrect when I submit the form.

How can this validation be disabled or solved?

Excuse me for my English!

Thank you and best regards.

Calendar not popping up

Hello,
I've looked through each of closed / solved issues about this problem and couldn't find a solution that worked. I can generate the date tag and place it in the form. The field shows up in the front end but no calendar displays on click. Same thing when I place the shortcode in a page.

Could you please take a look at this: http://cts01.com/?page_id=46 ? The date field is placed in the right column above the time selection.

Thanks in advance!

contact-form-7-datepicker does not work in WP 3.5.1

fig3 page-reserveren
fig1 contact
fig2 contact-form-7

Datepicker does not work in WP version 3.5.1 in Dutch language (nl); CF7 version 3.3.3; CF7 Datepicker version 2.2.1
CF7 Plugin and Datepicker plugin activated; shortcode [contact-form-7 id="11" title="Contact form 1"] pasted into page (Reservations).
Clicking this page the basic contact form shows up; however not the date calender, which did show up in the Contact/Contact Form 1/ of the dashboard.
I can select different Datepicker Themes (selected Theme Sunny). Both the CF7 and the Datepicker Theme are saved.
I read on another forum about some problem with the watermark. This problem apparently is corrected already in version 2.2.1 by the author. However contact-form-7-datepicker still does not work

Any idea why the Datepicker is not working?

datepicker 2.2.1 + WP 3.5.1

since the last update to 2.2.1 my datepicker stopped working.

i needed to replace the [date... with [text... for now to keep my forms working.

any idea what causes this. seems like i'm not the only one with the problem.

Restrict Datepicker Input box size

Currently when Datepicker is activated on my WP system the input box is around 80 characters.
Is there an easy way to restrict the size of the input box displayed by Datepicker to a certain length or specific format e.g. dd-mm-yyyy?
Andy

Form content disappears issue

Apparently there are a lot of users complaining that when they save the forms, they immediately loose all content. Although I can't replicate this issue, I will try to find a solution.

Datepicker is not appearing

Hi all,

A while ago I created a form using datepicker (fields: Start and Ende): http://digitalfotografieren.com/event-melden/

However, now datepicker is not working/showing up anymore. When I am changing Wordpress to the standard theme, the calendar is working. With my current theme datepicker was also working but I don't know when it stopped showing up (maybe related to WP 3.5 update?). Do you have any idea?

I also disabled every plugin without success.

Thanks,
Andreas

Want to disable editing date after selection

Hi,

I have been getting incorrect dates like 111111111 123456 etc.

I want that people should only be able to select date and not write anything in the date field. What is the preferred setting to get this result.

activate datepicker with image vs form-input

Hi there,

It looks great! One question, clicking on an empty input box to open the calendar isn't the most intuitive solution. Is it possible to replace the input box with an image of a calendar?

Cheers,

January is spelled wrong

In version 0.7.2, January is spelled Janaury. I tried to edit the files and fix it (it's spelled wrong in the .php file and both .js files), but then I get this error when I try to re-activate the plugin:

Parse error: syntax error, unexpected T_STRING in ~/public_html/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php on line 261

disappears second time

Hey, this is an awesome plugin and I'm very grateful for it.

I've used the contact form 7 plugin with this date picker and have one small bug.

If we click, the datepicker pops up, we select a date, it then closes, but if we then decide the date is wrong and click to open again, it opens then quickly closes.

We have to them click again to get it to open. It's like every other time it closes itself.

Might just be a small conflict but it does it in the admin also and with every browser, safari, ie etc.

Is it a quick fix?

Multiple datepickers on one page - all broke down

Hi I've triple checked that all jquerys are properly loaded. And I've tried different modes but nothing seems to help. I think having two contact forms loaded on same page broke them down since at some point they were working. Any workaround for this? Many thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.