Quantcast
Channel: contact form 7 – WordPress.org Forums
Viewing all articles
Browse latest Browse all 9540

sizeze on "[Plugin: Contact Form 7] Forwarding issues"

$
0
0

Hi
I have been having an issue with contact form 7 with redirects. I am receiving emails however the user is not being redirected after submitting the form. I have checked the redirect code and it seems fine, included below.
Any help would be appreciated. Thanks
George Turner

Contact Form
on_sent_ok: "location = 'http://www.candcsolicitors.co.uk/thank-you/';"

Claim Calculator
on_sent_ok: " if (document.getElementById('drop').value=='Ankle') {location.replace('http://www.candcsolicitors.co.uk/ankle-injuries-claims-calculator')} else if (document.getElementById('drop').value=='Arm') {location.replace('http://www.candcsolicitors.co.uk/arm-injuries-claims-calculator')} else if (document.getElementById('drop').value=='Back') {location.replace('http://www.candcsolicitors.co.uk/back-injuries-claims-calculator')} else if (document.getElementById('drop').value=='Brain') {location.replace('http://www.candcsolicitors.co.uk/brain-and-head-injuries-claims-calculator')} else if (document.getElementById('drop').value=='Chest') {location.replace('http://www.candcsolicitors.co.uk/chest-injuries-claims-calculator')} else if (document.getElementById('drop').value=='Elbow') {location.replace('http://www.candcsolicitors.co.uk/elbow-injuries-claims-calculator')} else if (document.getElementById('drop').value=='Feet') {location.replace('http://www.candcsolicitors.co.uk/foot-injuries-claims-calculator')} else if (document.getElementById('drop').value=='Hand') {location.replace('http://www.candcsolicitors.co.uk/hand-injuries-claims-calculator')} else if (document.getElementById('drop').value=='Knee') {location.replace('http://www.candcsolicitors.co.uk/knee-injuries-claims-calculator')} else if (document.getElementById('drop').value=='Leg') {location.replace('http://www.candcsolicitors.co.uk/leg-injuries-claims-calculator')} else if (document.getElementById('drop').value=='Neck') {location.replace('http://www.candcsolicitors.co.uk/neck-injuries-claims-calculator')} else if (document.getElementById('drop').value=='Pelvis/Hip') {location.replace('http://www.candcsolicitors.co.uk/pelvis-and-hip-injuries-claims-calculator')} else if (document.getElementById('drop').value=='Shoulder') {location.replace('http://www.candcsolicitors.co.uk/shoulder-injuries-claims-calculator')} else if (document.getElementById('drop').value=='Wrist') {location.replace('http://www.candcsolicitors.co.uk/wrist-injuries-claims-calculator')} else if (document.getElementById('drop').value=='Other') {location.replace('http://www.candcsolicitors.co.uk/other-injuries-claims-calculator')} else { location.replace('http://www.candcsoliditors.co.uk/') } "

Website
http://www.candcsolicitors.co.uk/

https://wordpress.org/plugins/contact-form-7/


Viewing all articles
Browse latest Browse all 9540

Trending Articles