Quantcast
Channel: Topic Tag: contact-form | WordPress.org
Viewing all articles
Browse latest Browse all 5998

Yoinkzz on "Contact Form 7 and Datepicker"

$
0
0

Hi All,

I'm having problems getting my datepicker to show a default date. Right now it jumps to my max-date and that is not what I want.

Here is the site (Booking form at the buttom):
http://www.dmcl.dk/super-sport/

Here is my code:
<div class="form-row">
<div class="column-half">Fra dato (skal udfyldes) [date* LejeFra date-format:YYYY-MM-DD min-date:2015-04-01 max-date:2015-10-31 inline]</div>
<div class="column-half">Til dato (skal udfyldes) [date* LejeTil date-format:YYYY-MM-DD min-date:2015-04-01 max-date:2015-10-31 inline]</div>
</div>

I know the * should make the field required, that also doesn't work (I can see other people in here have the same problem - so might not just be me who is a stupid)?.
But when I choose to set the "inline" then it defaults in the calendar to the max-date. No matter what I try (using placeholder, setting "2015-04-01"9 it wont work.

I would like to manually set the "Start-Date" or even better get the current date in both calendars, so people don't have to click backwards to find the current date.

Does it make sense?

Thank you people,


Viewing all articles
Browse latest Browse all 5998

Trending Articles