Storing profile screen picture label in attribute

Document ID : KB000100069
Last Modified Date : 04/06/2018
Show Technical Document Details
How do I display two pictures as part of a task profile tab, and save the selection of one of these pictures (mandatory attribute, radio button) in a user attribute?
Pull in the pictures and the radiobutton html code via a field html object..
Then use that method to add an onclick() handler to the radio button that stores the selected value of the radio button in a user's field attribute.