我使用的是联系表单7,但是当提交表单按钮时工作缓慢,因此用户单击多个时间并且表单提交2-3次需要帮助
这里是URL Link
您可以从here获取提交按钮的点击事件。
请尝试使用此代码。
document.addEventListener( 'wpcf7submit', function( event ) { alert( "Fire!" ); jQuery('your-button-id-or-class').prop("disabled", true); }, false );
或者您可以找到解决方案here。
希望对您有帮助。