On our product pages if a customer hits the enter key on a text input product attribute it submits the form and then brings them to the wish list page.
Would it be possible to just disable the form from being submitted when hitting enter?
This also happens on mobile if the customer taps the go button instead of tapping done. At least on ios. haven't had a chance to check it on other mobile os
I'd rather the form only be submitted by clicking or tapping the add to cart button regardless of what page its bringing you to when you hit enter or tap go.
I suppose I would also need to implement the requested behavior on the PATR page as well.
Thanks.
-Nick
Would it be possible to just disable the form from being submitted when hitting enter?
This also happens on mobile if the customer taps the go button instead of tapping done. At least on ios. haven't had a chance to check it on other mobile os
I'd rather the form only be submitted by clicking or tapping the add to cart button regardless of what page its bringing you to when you hit enter or tap go.
I suppose I would also need to implement the requested behavior on the PATR page as well.
Thanks.
-Nick
Comment