Show an input field when an specific checkbox is checked in checkbox group

So when a specific checkbox is checked in checkboxgroup I want to show a specific field. I would appreact if anyone can provide me a code. Thank you

How about

if ($w('#somechecbox').checked {
	$w('#somefield').show() //or .expand() if you had collapsed it instead of .hide() 
}