August 22, 201214 yr I have removed the default submit button on a CF7 form as I want to carry out a few other functions then submit the form later using java script. $('#submit').attr('onclick', 'document.forms["submitDealForm"].submit();'); but when I click the custom submit button, the CF7 with name="submitDealForm" doesnt send, or validate either. instead it just refreshes the page. if it helps I am actually submitting another form no problem with this ... $('#submit').attr('onclick', 'document.forms["submitDealForm"].submit(); document.forms["paymentForm"].submit();'); but only the payment form submits, again not the submit deal form Any ideas? Edited August 22, 201214 yr by pilgrim_fgau
Create an account or sign in to comment