Category : wordpress

I’m using the Stripe payment gateway on my WooCommerce website. There’s 3 credit card fields: Card Number, Expiry Date and Card Code (CVC). I would like the focus to automatically jump to the next credit card field after maxlength is reached. I have found this JavaScript: const wrapper = document.getElementById("autojump"); const el = wrapper.querySelectorAll(".form-control"); const ..

Read more