Title: Conditional redirection not working
Last modified: February 16, 2020

---

# Conditional redirection not working

 *  Resolved [fahadanwar](https://wordpress.org/support/users/fahadanwar/)
 * (@fahadanwar)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/conditional-redirection-not-working-2/)
 * I am trying to make a multi-step form. On first step there are 2 radio buttons
   with values one and two, I want to redirect to different step-2 depending upon
   the value selected in those radio buttons.
    Logic is, “if radiobutton value =
   = one, next step will be step-2” the other condition is “if radiobutton value
   == two, next step will be step-2-part-2”
 * **Step-1**
 *     ```
       <label> Your Email (required)
           [email* your-email] </label>
   
       [checkbox* form-check id:form-check exclusive "one" "two"]
   
       [group way-1]
       [multistep multistep-14 first_step "https://spreading-library.000webhostapp.com/step-2"]
       [submit "Next"]
       [/group]
   
       [group way-2]
       [multistep multistep-224 first_step "https://spreading-library.000webhostapp.com/step-2"]
       [submit "Next"]
       [/group]
       ```
   
 * **step-2**
 *     ```
       <label> Your Name (required)
           [text* your-name] </label>
   
       <label> Subject
           [text your-subject] </label>
   
       <label> Your Message
           [textarea your-message] </label>
   
       [multistep multistep-14 last_step send_email]
   
       [submit "submit"]
       ```
   
 * **step-2-part-2**
 *     ```
       <label> Your Name (required)
           [text* your-name] </label>
   
       <label> Subject
           [text your-subject] </label>
   
       <label> Your Message
           [textarea your-message] </label>
       [multistep multistep-224 last_step send_email]
   
       [submit "Send"]
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconditional-redirection-not-working-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/conditional-redirection-not-working-2/#post-12443135)
 * Since multistep is being supported in CF Pro, I’m no longer actively maintaining
   compatibility with 3d party multistep plugins. What you are asking is possible
   with CF pro. With Pro, conditions in one step can depend on values in another
   step. So in your second step, you could create 2 groups, and show the group you
   want based on the radiobuttons in step 1.

Viewing 1 replies (of 1 total)

The topic ‘Conditional redirection not working’ is closed to new replies.

 * ![](https://ps.w.org/cf7-conditional-fields/assets/icon-256x256.png?rev=2072595)
 * [Conditional Fields for Contact Form 7](https://wordpress.org/plugins/cf7-conditional-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-conditional-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-conditional-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-conditional-fields/reviews/)

## Tags

 * [Contact Form 7 - Conditional Fields](https://wordpress.org/support/topic-tag/contact-form-7-conditional-fields/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/conditional-redirection-not-working-2/#post-12443135)
 * Status: resolved