product & category validation for forms