TEIIDDES-2374 fixed handling of radio buttons to correctly set function = true