Streaming live at 10am (PST)

Showing div when checkbox is selected


I would like to show a div when a checkbox is selected. I created an interaction to set the visibility of the div from 0 to 100 when the checkbox is clicked, but it only works when clicking on the checkbox square but not on the checkbox label. See here:

Can you please help?

Here is my public share link:
(how to access public share link)

I think I’m just going to replace the chekbox form element by a checkbox icon and a text item, and change the icon dynamically from unchecked to checked with the click interaction that shows the div.

Hi there,
Is there any chance you could share with me how did you achieve this?