made drop down menus trigger validity check