Don't limit it to just check boxes and let the control specify the key to write into.
Check boxes will by default write into the `enabltheir `checked` bool valustate whereas other controls have to specify a key and thens will write their `value` or a bool for special `TRUE` or `FALSE`