Results 1 to 2 of 2

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

  1. #1
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Jason's Date Input Calendar - "Default date" overrides "selected date" in html form

    1) Script Title: Jason's Date Input Calendar

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...oncalendar.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?

    Thanks,
    Peanut

  2. #2
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    SOLVED IT!!

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

    P.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •