Title: [Plugin: Contact Form 7] Conditional Redirect for Submit Button
Last modified: August 20, 2016

---

# [Plugin: Contact Form 7] Conditional Redirect for Submit Button

 *  [mnava2021](https://wordpress.org/support/users/mnava2021/)
 * (@mnava2021)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-conditional-redirect-for-submit-button/)
 * I am new to WordPress, so I need some help with code, please!
 * On my website I have completed a form to solicit donations using Contact Form
   7 and redirected the Submit button to a customized PayPal page. I am asking people
   to select a checkbox for a donation amount on the website form; however, since
   the donation amounts vary, PayPal is currently set up without a pre-determined
   donation amount. Though it seems redundant, I want to keep the information on
   the form because it gets sent to me by email, so I need to redirect to different
   pre-populated PayPal pages based on which Donation Amount they select.
 * Here’s my website: [http://96.125.173.235/~hopetuto/donate-now/](http://96.125.173.235/~hopetuto/donate-now/)
 * Essentially here’s what I want to happen on the form:
 * They select from the following options in a checkbox:
    A B C
 * And the code does the following:
 * If A is selected link to URLA upon submission
 * If B is selected, link to URLB upon submission
 * And so on…
 * Any help would be much appreciated!!!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [mnava2021](https://wordpress.org/support/users/mnava2021/)
 * (@mnava2021)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-conditional-redirect-for-submit-button/#post-2221292)
 * I am still struggling with this issue. I hope somebody can help!
 *  [bwells](https://wordpress.org/support/users/bwells/)
 * (@bwells)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-conditional-redirect-for-submit-button/#post-2221295)
 * I’m trying to do the exact same thing, there is some good info here:
 * [http://wordpress.org/support/topic/plugin-contact-form-7-conditional-redirect?replies=15](http://wordpress.org/support/topic/plugin-contact-form-7-conditional-redirect?replies=15)
 * Good luck!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Contact Form 7] Conditional Redirect for Submit Button’ is closed
to new replies.

## Tags

 * [paypal](https://wordpress.org/support/topic-tag/paypal/)

 * 2 replies
 * 2 participants
 * Last reply from: [bwells](https://wordpress.org/support/users/bwells/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-conditional-redirect-for-submit-button/#post-2221295)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
