switch1 checked not working ? it not showing with code

Hi,
Have you tried to console log to see the value?

console.log(  $w('#switch1').checked ) 

Tal.