Skip to main content
Participant
July 31, 2009
Question

calendar popup with cfinput datefield not showing month & year

  • July 31, 2009
  • 1 reply
  • 1574 views

Hi,

   I have a cfform as follows:

<cfform action="lab_Reservation.cfm?method=edit_process" id="ReservationForm" name="ReservationForm" method="post" class="editForm" enctype="multipart/form-data" onSubmit="return ValidateInput() ;">

<cfinput name="ReservationStart" id="ReservationStart" class="date"  type="datefield" value="#DateFormat(rStart,"mm/dd/yyyy")#"/><br />

Cold Fusion automatically puts a button next to the date field.  Clicking on the button brings up a pop-up form with a calendar.  The calendar does not show the month and year.  Is there a way to have the calendar show the month and the year on each page.

Thanks.

Saad

    This topic has been closed for replies.

    1 reply

    BKBK
    Community Expert
    Community Expert
    July 31, 2009

    Use cfcalendar

    <cfcalendar name="ReservationStart" selecteddate="#rStart#" mask="mm/dd/yyyy">