• Resolved krishs

    (@krishs)


    Dear Team,

    I’m using contact form 7 with conditional fields for the cf7 plugin. the issue is I’ve created 2 dropdown fields city and dealers. for dealers fields, I’ve created conditional group fields because the dealers drop-down is based on the city selected. but in the mail I couldn’t get the selected dealer value, instead getting the last city dealer. please find below the code i’m using,

    Form:

    [group city-agra disable_on_hide]
    [select* dealers “Prem Garages Pvt. Ltd. – Agra”]
    [/group]

    [group city-ahmedabad disable_on_hide]
    [select* dealers “Stellar Autohaus Pvt. Ltd. – Makarba” “Stellar Autohaus Pvt. Ltd. – Ashram Road” “Eminent Motocorp Pvt Ltd – Vastral “]
    [/group]

    [group city-Ahmednagar disable_on_hide]
    [select* dealers “Sarra Motors Pvt. Ltd. – Nagar – Pune Road”]
    [/group]

    [group city-Alappuzha disable_on_hide]
    [select* dealers “EVM Motors & Vehicles India Pvt Ltd – Aarattuvazhi”]
    [/group]

    [group city-Aligarh disable_on_hide]
    [select* dealers “Prem Garages Pvt. Ltd. – Aligarh”]
    [/group]

    Condition:

    show [city-agra] if [city] equals “Agra”
    show [city-ahmedabad] if [city] equals “Ahmedabad”
    show [city-Ahmednagar] if [city] equals “Ahmednagar”
    show [city-Alappuzha] if [city] equals “Alappuzha”
    show [city-Aligarh] if [city] equals “Aligarh”

    Email

    City: [city]
    Dealer: [dealers]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘unable to fetch correct conditional dropdown value’ is closed to new replies.