• Resolved fahadanwar

    (@fahadanwar)


    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 to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    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.