cforms II User Forum

Registration is currently disabled.


Login form protected by Login LockDown.

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Calendar picker doesn't enter date correctly
October 16, 2007
10:44 pm

Hi there,

A weird bug I discovered using the date picker function. No matter what date I select, the month is always entered into the form as 00. For example, when I select 10/16/07 from the calendar, it's entered into the form as 00/16/07.

It's interesting because the status bar shows some javascript information and the date is obviously selected properly there.  Any idea why this might be happening?

 I'm using CForms 5.5, WP 2.3, and Firefox 2.00.7.


October 16, 2007
10:48 pm

Shoot, after troubleshooting for 45 minutes, of course I figured it out right after I posted the request for help. Turns out that the date picker settings needed to be set to MM/dd/yyyy, I didn't realize that was different than mm/dd/yyyy.

October 25, 2007
3:17 am

Hmmm… I tried MM and mm and still have same problem as you, only "00" shows up for day, any other resolution on this?

I have same setup as you:

CForms 5.5, WP 2.3, and Firefox 2.00.7


 UPDATE: Fixed!

 You have to change the Date Format in the plug-in setting tab to


which is not the example shown in help "cforms-help.php#datepicker"



October 25, 2007
7:21 am
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005

 UPDATE: Fixed!

 You have to change the Date Format in the plug-in setting tab to


which is not the example shown in help "cforms-help.php#datepicker

Please check yor cforms version Joe, as of v5.51 the Help page says this:

The example above will set a default value of "mm/dd/yyyy" so users know the expected format. The regexp at the end ensures that only this format is accepted. NOTE: You also need to configure the date picker options to match the date format ("MM/dd/yyyy" !)

Supported Date Formats (see "Plugin Settings" tab):

with examples 

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
23 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3762

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5359

Posts: 18741

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)