Updated placeholder functionality

checks if option is selected to make the placeholder.