Toggle checkmark button status [SOLVED]

Hi Reuven,
Thanks! that’s the functionality I expected :slight_smile:

I have many checkboxes and I want to make a function to which I pass function(checkboxID, string) and then do if ($w(‘#checkboxID’).checked) {…}

but I get an error that it’s “not a valid selector name” . Any way around that?

Scratch that - I was too quick to reply but I realized I could just pass the ID as a string and just do:
if ($w(checkboxID).checked) {…}

Thanks! Problem solved.