Set date from client

Hi,
Is possibile set a value to dhtmlx calendar from client ?
The method setDate, set the correct value in the calendar widget but the attached input don’t refresh; i’m using a dhtmlx form and i don’t know the attached input (id) because the code is autogenerated.
js object about form (not complete) : [
{ type: “settings”, position: “label-left”, labelWidth: “auto”, inputWidth: “auto”},
{ type: “calendar” , name:“calTo”, label:“A”, dateFormat:“%Y-%m-%d”, required: true, validate:“NotEmpty”, enableTime:false, readonly:true, inputWidth:120 }
]

Any tricks or tips ?

On other problem is that enableTime attribute don’t work and i have to get the calendar widget and call .hideTime();

Thanks.

If the calendar is placed in the form you need to operate with the data of the form, not with the calendar itself.
also the “enableTime” property works well for me locally.
Please, refer to the following snippet:
http://snippet.dhtmlx.com/b62b53f0b
If the problem still occurs for you please, provide a similar snippet, where the problem can be reconstructed locally.