Support » Plugin: Conditional Fields for Contact Form 7 » Conditional Field stopped working

  • Resolved Doc Young


    I was asked to start a new post for this thread.
    I have a series of dropdowns featuring counties of England, Scotland, Wales and NI.
    Until December of 2018, this worked a treat but now it just picks the first option on the last dropdown.
    Help to resolve this option would be most welcome.

    The page I need help with: [log in to see the link]

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


    Seems to still be working fine here. Could you record a video to illustrate the problem?

    Not sure how you tell that it was working as you can only tell by applying.
    The form seems to work on the public site but only selects the first field of the last condition – which is Wales
    After submitting, the form is sent to a custom DB.

    Plugin Author Jules Colle


    Is the email working? Which DB plugin are you using?

    Not using a DB plugin as I needed something more robust.
    The custom table is populated ok, and the conditional was working ok until the latest update.
    I had assumed that I could use the location field to dump to DB but wasnt recognised so had to use the conditional fields.
    As per
    $location = $formData[‘location’];

    and then

    Update using just $location, selects the name of the dropdown where town selected

    problem solved, I hope

    Have changed the code to
    $location=$formData[‘CountiesScotland’];} (and same for other dropdowns)

    and then ‘Location’=>$location

    Thanks for looking at. It helped stimulate the brain to come up with a solution

    Plugin Author Jules Colle


    NP. glad you solved it!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.