Calendar Popup Interface - Dates Panel
print this page
   
Special Days:
  Special Days entry area is to enter the days on the calendar which you want to seperate from other days, the background will be set to the color as specified on the prior panel and all popup calendars on the page will share these universal entries. In order to enter a special date, you must first click on the + button to put a date in the field. Then you can select the date and change it to the specific date desired. The year setting can be either a specific year (like 2002) or, if all is selected, it will be a recurring date (like New Year's Day would be entered 1,1,* in the Special Days field). The dates are all entered in Month, Day, Year format regardless of the entried on the prior panel. To remove a date from the list, select it and click on the - button. Selectable will determine if all of the special dates are selectable in the popup calendar - for instance, if you wanted to disable New Year's day so it couldn't be selected, you would enter 1,1,* as a special date and then uncheck this box and the date wouldn't be a link on the popup calendar. Finally, invalid dates (February 30th for instance) will be ignored in processing but will be entered on the page.
   
Start Date On:
  There are two ways to have the calendar popup appear, either on the current date or the date specified here. If you enter a year, the Current Month checkbox will automatically unselect. This is an entry for each of the popup calendars and is unique to the popup.
   
Digit Display:
  This will allow the dates to be in a single or double digit format - January 5th, 2002 would display as 1/5/2002 in single digit or 01/05/2002 in double digit. Both the month and the date will be preceeded by a zero if they are less than 10.
   
Date Entry:
  This selection will limit the available dates that can be selected. The default selection, all dates, will allow any date, present, past or future, to be entered. Tomorrow+ will allow any date starting with tomorrow and into the future. Today+ will allow and entry starting with today (when the calendar popup is called) and into the future. Both the Tomorrow+ and Today+ are referancing the date the calendar popup is called and not the day it is setup on the page.
   
Limit Future To:
  Enter a number to make the calendar limit the number of days in the future a selection is valid. This is very useful when used in combination with the Date Entry options above to limit reservations for two weeks from tomorrow, for instance.
   
Link Calendars:
  Linking calendars will place some hidden fields on the page and will allow all of the calendars to be linked so that when one is used and a date is selected, the next time it is used, the popup will default to the month and year of the last selection. For instance, if you have two calendar popups on the page and the user selects a date of July 10, 2004 on one calendar popup. When the user selects another calendar popup, the month is set to July and the year is set to 2004.
   
Weekends:
  This checkbox will determine if the weekend days are selectable. Unchecking this box will make it so that the weekend dates will not be able to be selected from the popup calendar.
   
Error Setting:
 

This setting is for those experiencing problems when editing the extension or using the extension with several instances on the page and you're getting a javascript error. This prevents code from operating, which is written by Macromedia, that is supposed to update the function call. Use this carefully because it will prevent the proper updating of the KW_doCalendar function in the source code. If you have to use it, do this to insure the page is setup properly:

  1. View the source.
  2. Find function KW_doCalendar.
  3. Check the number after the //. For instance, the current version when this was added is v2.5.0
  4. Setup a calendar on a new, blank page.
  5. View the source of the new page.
  6. Find the function KW_doCalendar.
  7. Check the version number.
  8. If they match, you're OK.
  9. If they don't match, copy the function from the new blank page.
  10. Paste the copied function over the older one on the original page.

I apologize for the hassle. Once I've had an opportunity to examine the Macromedia code, I may be able to make a workaround where this isn't needed.