First update after 20 december 2024 needs extra attention!

Conditional Fields 2.5.5 and later use new folder and file names.
As a result, the plugin will deactivated automatically the first time that you update from version 2.5.4.
Please make sure to activate the plugin manually after the update.

Read more

mstudioIL

Form



    Form Code

    <fieldset>
    <label for="country_code">Country:</label>
    [select* country_code data:countries id:country_code include_blank]
    [group us-states]
    <label id="state" for="state_code">State/Province:</label>
    [select state_code data:us_subdivisions.states data:us_subdivisions.districts id:state_code include_blank]
    [/group]
    </fieldset>
    
    [submit]

    Conditional Fields

    show group if field operator value

    us-states if country_code equals United States