yuicalendar Control - yuicalendarcontrol Class

The yuicalendar  control places a YUI calendar widget control in the form.  It uses the yuicalendarcontrol class in the forms/controls folder.

The yuicalendar control accepts several parameters:

  • name (required)
  • id
  • value
  • disable_text
  • default
  • showtime
  • disabled

An example of the yuicalendarcontrol control:

{control type="yuicalendar" name="publish" label="Publish Date" value=$record->publish}
Loading Help