Category : wordpress

Plugin «MetForm» submit form data via wp-json route /wp-json/metform/v1/entries/insert/ and current page does not reload after sending (its normal). But i need to submit a form to another page after REST API POST-request. How i can do this? What i need: I go to page example.com/contact I submit form data Current page is being redirected ..

Read more

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