Added logic for doc_type drop down