onclick callback added to input radio/checkbox