Onclick checkbox full_day

Hi !

I would like to add an event (onClick) when I check the box that allows you to create an event on the day (full_day: true).

Is it possible ?

Thank you !

Sorry for my bad english :frowning:

As far as I can see, it can be done only through code modification
In dhtmlxscheduler.js you can locate the next string

<input type='checkbox' name='full_day' value='true'>

and add a native html onclick handler to it

Thank you for your reply but the onClick does not seem to be called.

<input type='checkbox' name='full_day' value='true' onClick='Test()'>

The Test () function does not exist so I should have an error in the console but it is not the case.

Like ReferenceError: Test is not defined

Hi,

try to use “onChange” event instead of “onClick”. It should work.

Thank you it’s working