Adding Validation Funcion - Subcategory Page