Edit product: adding client side validation