How to ensure there is no duplicate submission based on drop-down menu selections?