Support » Plugin: Conditional Fields for Contact Form 7 » Conditional Results

  • Resolved drayj7

    (@drayj7)


    I’m looking to use CF7 and conditional logic to take and build a form that asks for certain inputs. Based on those conditional inputs I want to include specific page content.

    I’m looking to display anywhere from 15-20 different page content sections. Questions on the form will determine which page content gets displayed as a result of the users input.

    Is there an easy way to do that with this form, or on the contact page? Maybe some keywords that I should be looking up and using?

    TLDR: Basically based on a variety of If statements I want the form to be able to ask for certain information and then display certain page content on a thank you page or below the form after the user submits.

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

    (@jules-colle)

    At this point the plugin can only show conditional content within the form (before submit) and in the email message (after submit.)

    CF7 does not support thank you pages as far as I know, although you can easily redirect to a thank you page with some javascript. At this point however you are completely out of scope of the form, and the thank you page has no link whatsoever with the form.

    There is however a success message that you can modify in CF7. It’s an idea I might consider to extend the success message by promoting it to a rich text field that accepts conditional tags, but it’s not on top of my list now. I will add this idea to the github issues though, and maybe you (or someone else) could create a pull request with the code changes.

    Marking this as resolved and will follow up here: https://github.com/pwkip/contact-form-7-conditional-fields/issues/23

Viewing 1 replies (of 1 total)
  • The topic ‘Conditional Results’ is closed to new replies.