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

not empty

Form

    Both of these should work.

    The right way (with first_as_label)

    Please select any value, and a group will appear

    It's magic!

    The not so right way (without first_as_label)

    Please select any value, and a group will appear

    It's magic!

    Form Code

    <h2>Both of these should work.</h2>
    
    <h3>The right way (with first_as_label)</h3>
    Please select any value, and a group will appear
    [select select-1 first_as_label "-- I'm not a value --" "Value 1" "Value 2" "Value 3"]
    [group magic-1]
    It's magic!
    [/group]
    
    <h3>The not so right way (without first_as_label)</h3>
    Please select any value, and a group will appear
    [select select-2 "-- I'm a value, but I pretend to not be one --" "Value 1" "Value 2" "Value 3"]
    [group magic-2]
    It's magic!
    [/group]

    Conditional Fields (Text)

    show [magic-1] if [select-1] not empty ""
    show [magic-2] if [select-2] not equals "-- I'm a value, but I pretend to not be one --"