Support » Fixing WordPress » [Plugin: Contact Form 7] ‘Conditional’ Fields?

  • Resolved njs1970


    Hi there

    Is it possible to add have a specific set of choices (drop down menu, radio buttons, checkmarks, etc.) appear only after a certain choice has been made in a previous field?

    So for example …

    I have a drop down menu asks a question about which route a runner wants to take and depending on which route they pick, I want them to be able to choose a date from a range of options.

    But each route should have its own range of options as routes are organized for different dates.

    Does that make sense?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Yes it does, we’ve been looking around for something like this for a while. At the moment we are using static pages with JS. A plugin would be great for non-coders.

    Hey sokratesagogo
    (I now have an image of an old greek guy dancing in a cage, nice!)

    I’m having a programmer look into this and will post a working solution here.

    It’ll probably involve hacking CF7 directly, but I’ll wait to see what he says.


    Nick 🙂

    OK, we have working conditional fields code.

    Download URL:

    Backup and replace these three files:


    You’ll also find Form Code and Message Body examples in the zipfile.

    These files are based on the latest (1.10.1) version so if you’re working with a different version, you’ll need to port the changes over to your installation manually.

    Unfortunately, I can’t offer much in the way of support, since I didn’t write the hack – only that I’ve tested it on a client’s WP 2.8 installation and it worked fine.

    The code has also been submitted to Takayukister for permanent inclusion into CF7.


    Nick 🙂

    Exactly what I was looking for.

    Can you confirm that it is working with version 2.0.1 or greater?

    Any word from Takayukister on whether or not this will be permanently included?

    Great contribution! Thanks,


    I couldn’t get it to work with the current version: 2.0.1

    is this already working for version 2.1.1? or is there an other option/work around for using ‘Conditional’ Fields

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Contact Form 7] ‘Conditional’ Fields?’ is closed to new replies.