Hi,
It should be a datepicker standard.
Add the following line to theme function PHP:
add_filter( ‘wpcf7_support_html5_fallback’, ‘__return_true’ );
it should show the date picker in your browser now.
Contact Form 7 has some Datepicker support via the new HTML5 date input type (see http://contactform7.com/date-field/) but this is currently only supported on some browsers – see http://www.wufoo.com/html5/types/4-date.html
Contact Form 7 does provide jQuery UI-based fallback for the date and number input fields. See http://contactform7.com/faq/does-contact-form-7-support-html5-input-types/
Thread Starter
Ralda
(@ralda)
I tried it like that but it doesn’t work. What am I doing wrong?
The contact form looks like this:
[date* geboortedatum min:2013-01-01 max:2013-12-31 step:7 class:required “yyyy/mm/dd”]
I added the line in the Functions.php but after saving the line was gone. I must have placed it on a wrong line. Can anyone tell me were to place it?
Here’s my contact form with the non-working datepicker: http://www.spellenmolen.be/testpagina/