Add autopopulate of text based on selected code