Title: Conditional Fields not working
Last modified: April 19, 2019

---

# Conditional Fields not working

 *  Resolved [lextof](https://wordpress.org/support/users/lextof/)
 * (@lextof)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/conditional-fields-not-working-7/)
 * I have a page with a CF7 form that holds some conditional fields. The conditional
   fields are shown nicely according to the rules laid out. So it works. However,
   the conditional fields are not shown (made visible) while I’m testing a duplicated
   version of it.
 * I tried this ultimate duplicate test method as I experienced non working conditional
   fields after creating a new form. I thought I made a mistake, but duplicating
   a working form and seeing it fail while testing tells me there might be something
   wrong.
 * I’m not a programmer, so I can’t debug things unfortunately. But maybe someone
   else experienced it before and can tell me what to do.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [brianread](https://wordpress.org/support/users/brianread/)
 * (@brianread)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/conditional-fields-not-working-7/#post-11457696)
 * My Conditional fields have just stopped working:
 * [https://englishcountrymusicweekend.org.uk/weekend-tickets/](https://englishcountrymusicweekend.org.uk/weekend-tickets/)
 * The top selector “Paypal” or “BACS” should show the selection next to it. Conditionals
   in the mail message also have stopped working:
 * I am geting this now:
 * [paypal]Payment by Paypal[/paypal]
    [BACS]Payment by BACS or cheque[/BACS]
 * whereas on the 19th I got this:
 * Payment by Paypal
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/conditional-fields-not-working-7/#post-11458634)
 * [@lextof](https://wordpress.org/support/users/lextof/) can you share a link to
   your copied website?
 * [@brianread](https://wordpress.org/support/users/brianread/) please create a 
   new topic with your question. Easier to follow up for me.
 *  Thread Starter [lextof](https://wordpress.org/support/users/lextof/)
 * (@lextof)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/conditional-fields-not-working-7/#post-11463260)
 * [@jules-colle](https://wordpress.org/support/users/jules-colle/) You can find
   the form active on: [https://eurol.com/test-2/](https://eurol.com/test-2/)
 * In order to keep it clean I only configured one field that holds custom fields
   to be shown. You can select: **Motor**, **Transmissie**, **Brandstoffen**, **
   Hydrauliek**, **Aandrijving cardan** or **Andere** to trigger a hidden custom
   field. All other options doesn’t require extra input for us.
 * Below the code I have used.
 * On [https://eurol.com/sponsoring/](https://eurol.com/sponsoring/) is another 
   form that also have some conditional fields that are truly working. Just select
   any type of sponsoring.
 *     ```
       <label for="cf-equipment-part"><span class="cf-label">Materieel onderdeel*</span>[select* cf-equipment-part id:cf-equipment-part class:cf-equipment-part include_blank "Rollend materieel" "Stationair materieel" "Motor" "Transmissie" "Brandstoffen" "Hydrauliek" "Vetten" "Koelcompressor" "Turbine" "Transformator" "Thermische olie" "Aandrijving cardan" "Koelvloeistoffen" "Andere"]</label>
   
       [group Engine]
       <h4>Motor</h4>
       <span class="cf-label">Definieer type motor*</span>[radio cf-equipment-engine id:cf-equipment-engine class:cf-equipment-engine use_label_element default:0 "Benzine" "Diesel" "Biodiesel" "Gasmotor op aardgas" "Gasmotor op biogas" "Gasmotor op stortgas"]
       [/group]
   
       [group Transmission]
       <h4>Transmissie</h4>
       <span class="cf-label">Definieer type transmissie*</span>[radio cf-equipment-transmission id:cf-equipment-transmission class:cf-equipment-transmission use_label_element default:0 "Manueel" "Automatisch"]
       [/group]
   
       [group Fuels]
       <h4>Brandstoffen</h4>
       <span class="cf-label">Definieer type brandstof*</span>[radio cf-equipment-fuel id:cf-equipment-fuel class:cf-equipment-fuel use_label_element default:0 "Benzine" "Diesel"]
       [/group]
   
       [group Hydraulique]
       <h4>Hydroliek</h4>
       <span class="cf-label">Definieer type hydrauliek*</span>[radio cf-equipment-hydraulique id:cf-equipment-hydraulique class:cf-equipment-hydraulique use_label_element default:0 "Pomp" "Ventielen"]
       [/group]
   
       [group Cardan]
       <h4>Aandrijving cardan</h4>
       <span class="cf-label">Definieer type aandrijving cardan*</span>[radio cf-equipment-cardan id:cf-equipment-cardan class:cf-equipment-cardan use_label_element default:0 "Differentieel voorbrug" "Differentieel achterbrug" "Eindaandrijving" "Reductiekast" "Pompreductie"]
       [/group]
   
       [group Other]
       <h4>Andere</h4>
       <label for="cf-equipment-other"><span class="cf-label">Definieer type materieel*</span>[text cf-equipment-other id:cf-equipment-other class:cf-equipment-other]</label>
       [/group]
   
       <button type="submit" class="button">Versturen</button>
       ```
   
 * Conditional Fields:
 *     ```
       show [Engine] if [cf-equipment-part] equals "Motor"
       show [Transmission] if [cf-equipment-part] equals "Transmissie"
       show [Fuels] if [cf-equipment-part] equals "Brandstoffen"
       show [Hydraulique] if [cf-equipment-part] equals "Hydrauliek"
       show [Cardan] if [cf-equipment-part] equals "Aandrijving cardan"
       show [Other] if [cf-equipment-part] equals "Andere"
       ```
   
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/conditional-fields-not-working-7/#post-11469466)
 * Looks like you have some kind of custom set up in place? The JS code loaded does
   not seem to be the latest version of Conditional Fields, but there’s also no 
   version number present. Can you let me know which procedure or tools you used
   to set up your wordpress installation?
 *  Thread Starter [lextof](https://wordpress.org/support/users/lextof/)
 * (@lextof)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/conditional-fields-not-working-7/#post-11469571)
 * [@jules-colle](https://wordpress.org/support/users/jules-colle/) Sure, but I’ll
   have to ask someone else. I’ll let you know. All I can see is version 5.1 for
   CF7 and version 1.4.1 for CF7 7 Conditional Fields plugin.
 * But what I find strange is that one form is working with conditional fields and
   another one not.
 * I’ll let you know more if I find out the integration part.
 * Cheers, Alex
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/conditional-fields-not-working-7/#post-11495248)
 * Hey I’m closing this. Please open a new thread if you want me to look into this
   again.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Conditional Fields not working’ is closed to new replies.

 * ![](https://ps.w.org/cf7-conditional-fields/assets/icon-256x256.png?rev=2072595)
 * [Conditional Fields for Contact Form 7](https://wordpress.org/plugins/cf7-conditional-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-conditional-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-conditional-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-conditional-fields/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/conditional-fields-not-working-7/#post-11495248)
 * Status: resolved