jQuery(document).ready(function($) { // Replace 'forminator-254' with the ID of your Forminator form $('#forminator-254').on('submit', function(e) { e.preventDefault(); // Prevent the default form submission // Redirect to the WooCommerce checkout page window.location.href = ''; }); });