Am trying to do from previous selected buttons that contain department list department then next to select doctor list but faild

am trying to do from previous selected buttons that contain department list department then next to select doctor list but faild…here are screenshots