Capture information of the option selected by the user in the