I tried that, but if the checkbox is not selected I get an "Undefined index" notice. Is defining the variable before the checked() function really the best solution? Example here http://wordpress.stackexchange.com/a/32212/3293