Title: Conditional Fields not activating
Last modified: February 17, 2021

---

# Conditional Fields not activating

 *  Resolved [ywam_tv](https://wordpress.org/support/users/ywam_tv/)
 * (@ywam_tv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/conditional-fields-not-activating/)
 * The conditional fields were formerly all working, but have now stopped activating
   on my form (They no longer appear when the designated response is given).
 * I have not installed any new plugins, nor updated any of the underlying infrastructure
   of the site in any significant way.
 * ___
    FORM CODE:
 * <b style=”color:#8BC540; font-size:125%; line-height: 1.8;”>Personal Details</
   b>
    Applying for SBS starting in[select school-year include_blank “2021” “2022”]
 * Full Name[text* your-name]
 * Mailing Address[textarea* mailing-address x4]
 * Phone Number[phonetext* phone-no]
 * Email[email* your-email]
 * Date of Birth
    [date* DOB]
 * Gender[select* gender include_blank “Male” “Female”]
 * <b style=”color:#8BC540; font-size:125%; line-height: 1.8;”>Living Situation</
   b>
    Marital Status[select* married include_blank “Single / Divorced / Widowed/
   Separated” “Married”]
 * [group spouse]
    When you attend the school, will your spouse be living with you?[
   select* attending-spouse include_blank “Yes” “No”] [/group]
 * Do you have any children?[select* children include_blank “Yes” “No”]
 * [group have-children]
    Please list your children’s names, ages, and genders[textarea*
   child-details x4]
 * When you attend the school, will your children be living with you?[select* attending-
   children include_blank “Yes” “No”]
    [/group]
 * Are you currently allowed to work in Canada?[select* work-in-canada include_blank“
   Yes” “No”]
 * [group work-eligibility]
    Are you able to apply for a work permit upon entry 
   into Canada?[select* work-permit include_blank “Yes” “No”] [/group]
 * Are you up to date with your vaccinations?[select* vaccinations include_blank“
   Yes” “No”]
 * Do you have health insurance?[select* health-insurance include_blank “Yes” “No”]
 * [group have-insurance]
    What is the name of your insurer?[textarea* insurer x1][/
   group]
 * [group no-insurance]
    Please be aware that if you arrive without insurance, upon
   your arrival you will be charged CA$170 per quarter to cover your insurance costs.[
   checkbox* accept-insurance “I understand and accept”] <i>(required)</i> [/group]
 * <b style=”color:#8BC540; font-size:125%; line-height: 1.8;”>History</b>
    Do you
   have a criminal record, or are you involved in any current or pending lawsuits
   or legal actions?[select* criminal-record include_blank “Yes” “No”]
 * [group crim-record]
    Please explain your criminal record[textarea* crim-record-
   expl x4] [/group]
 * Have you completed Secondary School?[select* secondary-school include_blank “
   Yes” “No”]
 * Have you previously attended any YWAM or UofN Schools (including DTS or CDTS)?[
   select* attended-dts include_blank “Yes” “No”]
 * [group have-dts]
    Please list the school details, including location and date[
   textarea* dts-details x4] [/group]
 * <b style=”color:#8BC540; font-size:125%; line-height: 1.8;”>Languages</b>
    Languages
   spoken in decreasing order of fluency[textarea* languages x4]
 * English proficiency[select* english-level include_blank “Elementary speaking”“
   Limited word proficiency” “Minimum proficiency” “Native speaking proficiency”“
   Mother tongue”]
 * <b style=”color:#8BC540; font-size:125%; line-height: 1.8;”>Personal Reflection
   </b>
    What expectations do you have of the SBS?[textarea* expectations x6]
 * Are you intending on completing all three terms of the SBS?[select* all-terms
   include_blank “Yes” “No”]
 * [group not-all-terms]
    Please explain which terms you are intending not to complete
   and why[textarea* which-terms x4] [/group]
 * How is your current relationship with Jesus?[textarea* faith x6]
 * Please describe your spiritual and/or ministry goals, including missionary service
   goals[textarea* ministry-goals x6]
 * What are your areas of strength and in which areas do you wish to see growth?[
   textarea* strengths-growths x6]
 * Who or what directed you to this application form?[select source include_blank“
   YWAM Turner Valley Website” “Facebook Post” “Instagram Post” “Social Media Ad”“
   Friend/Family” “Other Ministry” “Church” “Other”]
 * Your data will be retained by YWAM Turner Valley in accordance with their [GDPR Privacy Notice](https://ywamturnervalley.org/gdpr-privacy-policy/)
   [
   checkbox* gdpr-policy “I consent to this data storage”] <i>(required)</i>
 * <br>[submit “Submit Application”]
 * —
    CONDITIONAL FIELDS CODE:
 * show [spouse] if [married] equals “Married”
    show [have-children] if [children]
   equals “Yes” show [work-eligibility] if [work-in-canada] equals “No” show [have-
   insurance] if [health-insurance] equals “Yes” show [no-insurance] if [health-
   insurance] equals “No” show [crim-record] if [criminal-record] equals “Yes” show[
   have-dts] if [attended-dts] equals “Yes” show [not-all-terms] if [all-terms] 
   equals “No”
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconditional-fields-not-activating%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/conditional-fields-not-activating/#post-14064775)
 * what is this x4 you are using?
 * the below tag doesn’t look like standard cf7
    [textarea* child-details x4]
 *  Thread Starter [ywam_tv](https://wordpress.org/support/users/ywam_tv/)
 * (@ywam_tv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/conditional-fields-not-activating/#post-14064826)
 * It sets the number of rows in the resultant text box (i.e. the text box size 
   in the final form). I forget where I saw if first, but it appears to be in moderately
   common usage.
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/conditional-fields-not-activating/#post-14064855)
 * I’m still learning every day 🙂
 * I can’t see if the CF7 scripts are loaded, I assume because you are using a caching
   plugin. Could you disable any plugins that might cause caching or try to clear
   your cache, and try again?
 * If that doesn’t work and since your code isn’t pasted in as actual code
 *     ```
       like this
       ```
   
 * Could you maybe paste the code in the form tester and send me the link? [https://conditional-fields-cf7.bdwm.be/form-tester/?test-form=blank+form](https://conditional-fields-cf7.bdwm.be/form-tester/?test-form=blank+form)
 *  Thread Starter [ywam_tv](https://wordpress.org/support/users/ywam_tv/)
 * (@ywam_tv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/conditional-fields-not-activating/#post-14064858)
 * I’ve tried a version without the x4, x6 etc., and it hasn’t caused the conditional
   fields to fire again.
 * To clarify, the conditional fields were working perfectly until some point in
   the past few weeks. In that time, I had not made any changes to the content of
   the form – it just stopped working.
 *  Thread Starter [ywam_tv](https://wordpress.org/support/users/ywam_tv/)
 * (@ywam_tv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/conditional-fields-not-activating/#post-14064953)
 * It doesn’t seem to be caching anything at the local (device) level, as the conditional
   fields don’t fire on completely unrelated devices. We discovered they weren’t
   firing when we found we weren’t getting any responses to conditional questions
   applicants should have been asked.
 * Is it possible something is getting cached on our site’s servers? Again, we haven’t
   changed anything significant, but how would I check and/or remedy anything getting
   cached at the site level?
 *  Thread Starter [ywam_tv](https://wordpress.org/support/users/ywam_tv/)
 * (@ywam_tv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/conditional-fields-not-activating/#post-14064959)
 * Oh, and the test code can be found at [http://conditional-fields-cf7.bdwm.be/form-tester/?hash=77c016cb9d1f4a0f8ce0270d375aa4d2](http://conditional-fields-cf7.bdwm.be/form-tester/?hash=77c016cb9d1f4a0f8ce0270d375aa4d2)
 *  Thread Starter [ywam_tv](https://wordpress.org/support/users/ywam_tv/)
 * (@ywam_tv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/conditional-fields-not-activating/#post-14065011)
 * I am running both Autoptomize and ReSmush.it on the site, which I cleared the
   cache on and deactivated. But, unfortunately, the conditional fields are still
   not working.
 * Note also that I also have multiple other forms on the site whose conditional
   fields are working perfectly on, strangely … (e.g. [https://ywamturnervalley.org/dts-stage-1-application/](https://ywamturnervalley.org/dts-stage-1-application/))
 * The initial form I sent does have more groups than any of the other forms – is
   there a memory limit for js processes or something?
 *  Thread Starter [ywam_tv](https://wordpress.org/support/users/ywam_tv/)
 * (@ywam_tv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/conditional-fields-not-activating/#post-14065020)
 * Actually, that’s not true – [https://ywamturnervalley.org/staff-application-stage-1/](https://ywamturnervalley.org/staff-application-stage-1/)
   has far more conditional fields, and is still working perfectly …
 *  Thread Starter [ywam_tv](https://wordpress.org/support/users/ywam_tv/)
 * (@ywam_tv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/conditional-fields-not-activating/#post-14065698)
 * As a stopgap, I’ve uploaded a version of the application form that doesn’t require
   conditional fields. The original, broken, form can be found at [https://ywamturnervalley.org/sbs-stage-1-application-2/](https://ywamturnervalley.org/sbs-stage-1-application-2/)
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/conditional-fields-not-activating/#post-14074231)
 * there seems to be a bug currenlty. For some reason if you use `children` as the
   name of your field, the form stops working.
 * The work-around is to rename `children` to `kids`
 * [https://conditional-fields-cf7.bdwm.be/form-tester/?hash=10b1ee102a9cc8e23b609692456570a6](https://conditional-fields-cf7.bdwm.be/form-tester/?hash=10b1ee102a9cc8e23b609692456570a6)
 * Will look into this weird bug and make sure it’s fixed in the next update
 *  Thread Starter [ywam_tv](https://wordpress.org/support/users/ywam_tv/)
 * (@ywam_tv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/conditional-fields-not-activating/#post-14074923)
 * Thank you, Jules – I really appreciate it! That solution worked perfectly 🙂
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/conditional-fields-not-activating/#post-14075129)
 * Glad to hear it. Cheers!

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

The topic ‘Conditional Fields not activating’ 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/)

 * 12 replies
 * 2 participants
 * Last reply from: [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/conditional-fields-not-activating/#post-14075129)
 * Status: resolved