Support » Plugin: Contact Form 7 » Re-direct to a different URL if a field has been filled out

Viewing 2 replies - 1 through 2 (of 2 total)
  • This worked for me after tinkering for a while..

    `on_sent_ok: “if (document.getElementById(‘payment’).value==’PayPal’) location = ‘https://www.paypal.com/cgi-bin/webscr?cmd=xxxx’; else location.replace(‘/payment2/’);”

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Re-direct to a different URL if a field has been filled out’ is closed to new replies.