dhtmlxform and dhtmlxcalendar

Hi!
How could dhtmlxCalendar be linked in the input element from dhtmlxform ?

Currently there is no special form type, but you can attach dhtmlxCalendar to the form in the same way as it can be attached to the normal html input.