Add-ons don’t do any sort of JS validation (yet) before allowing a product with add-ons to be added in the cart.
However, since the extension is deeply integrated in others that **must** validate user input in the front-end (eg composite products), it would be nice to have at least something 3rd party devs can use to know when an Add-ons input field has valid data or not, even at a very basic level (ie only to ensure that the user has made a selection, without any sort of content validation such as max char count, etc).
Closed
Last updated: October 2, 2015
Log in to comment on this feature request.
Hey there,
Thank you for getting in touch!
As of Product Add-Ons v6.0.0, a custom JavaScript validation has been implemented for add-ons in the single product page. I encourage you to update the plugin to the latest version and checking it out!