Hello Everyone,
I have cart notes enabled on my site and I recently added some code to make the cart notes field required in order to checkout. The code works, however, if someone tries to checkout without putting anything in the field, it will display " please enter required field" and then the checkout button displays the spinning wheel graphic. Once the customer enters info into the order notes I would like for the spinning wheel to stop but it persists even though text has been entered into the required field. You can click the spinning wheel and it will bring you to checkout but visually it looks as if the button is broken due to the spinning wheel graphic.
I would like to get rid of the spinning wheel graphic somehow, another user suggested I implement the following code:
// When someone press a click in textarea after clicking the checkout button
$(“#yourtextarea-id”).keyup(function(){
// Hide the loader which is on checkout button.
$(“#loader-ID”).hide();
});
I am a novice with code and I am not sure where to place this code, and also how to find the “loader-ID”.
if anyone can help point me in the right direction it would be much appreciated. I have attached a screen shot of the spinning wheel graphic that I described.
