Lightbox automatically set time and date by dropdown (next Weekend, next Meeting, ...)

I am looking for a way to add a section to the light box where i can select from a dropdown for example: “next weekend” and it will automatically load the correct start and end time in.

I though of sth like: Add an onAfterLightbox to somehow get the dropdown state and change the date afterwards. But i hope there is an more elegant way.

Hello @Kiwi_gamer01 ,

In this case, the best solution will be to create your own lightbox control as described by the following link:
https://docs.dhtmlx.com/scheduler/custom_lightbox_editor.html
and use it instead of the default time section in the lightbox.

1 Like