add client side validation for banners