Hi

I ran into problem where custom Line Item's Address field is being validated when product/line item is removed from the cart.

This is unnecessary since Line Item is being removed so there's no need for validation of the removed line item nor for the line items that stay on cart.

The form id is views_form_commerce_cart_form_default and the validation is called from views_form_views_form_validate.
How could I remove validation from this field only on "remove event"?

Comments

ETENTION’s picture