Using DhtmlxCalendare inside an input box

Hi everybody,

In the demo attached you can see my 2 problems.

  1. I built an inputbox using a modalbox. To the field i attached the dhtmlxcalendar but when i click on calendar icon the calendar opens with a wrong z-index and i can’t choose the date.

How can i solve this problem ?

  1. the second problem is the modal box that i show if the date is not in the correct format. When i click ok i’d like to reopen the inputbox asking for date but the only way i found is exit ?

How can i solve ?

Many Many thanks.
demobuild1.zip (578 KB)

Please a little help thank you.

Hello.

Sorry for the delayed reply.
You need to add! important.

.dhtmlxcalendar_dhx_skyblue{
z-index: 999999 !important;
}

Great Nikolay i Always forget !important clause.

Many thanks.

Any suggestion for the other problem ?

For istance ! Is there a way to stop the close of modalbox in the callback function ? returning true or false has the same effect and the box always closes itself.

Thanks again.

Hi,

For istance ! Is there a way to stop the close of a modalbox in the callback function

Nope, there is no way to block the dialog closing (the calback is called when a modalbox is already closed actually )