set lightbox checkbox state from db

How can I set the state of a checkbox in a lightbox section from a value in the database?

Hello,

Checkbox configuration:

{ name:"checkme", map_to:"registered", type:"checkbox", checked_value: "1", unchecked_value: "0" },

As you see it is mapped to certain field in database (in this case ‘registered’). Now if event property registered has value = “1” then checkbox will be selected then you open lightbox. 0 — unchecked.

Best regards,
Ilya

Thanks Ilya, that did it! I was trying to use boolean values (true, false), so close but yet… :smiley: