View Full Version : Jason's Date Input Calendar - "Default date" overrides "selected date" in html form

06-22-2007, 11:40 AM
1) Script Title: Jason's Date Input Calendar

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex7/jasoncalendar.htm

3) Describe problem:
Hi, great script!!!

Apart from my problem:
I use Jason's Date Input Calendar first to add a new record to my mysql database, which is fine.

When i want to use Jason's Date Input Calendar to edit a record in my database, i set the default value to equal the date already in the record. But when the user changes the date on the form and submits the form, it ignores the selected date and sends the default date.

How can I have Jason's Date Input Calendar initially show the date already on the record, but still allow me to update the date when it is changed using the calendar or input boxes?


06-25-2007, 12:31 PM

I had 2 sets of the calendar date inputs with the same names. Changed the names on 1 set.