How can I create logic for when something is selected in a field that auto generates the next field with stuff I list