use wp_dropdown_category to render dropdown
input field validation and optimized request processing