Title: Doesn&#8217;t Play Nice With Conditional Fields Plugin
Last modified: August 19, 2020

---

# Doesn’t Play Nice With Conditional Fields Plugin

 *  Resolved [kyudos](https://wordpress.org/support/users/kyudos/)
 * (@kyudos)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/)
 * I love the plugin and it has been working well for me, but recently it seems 
   to have stopped getting along with the CF7 Conditional Fields Plugin.
 * See my problem descriptions here:
 * [https://wordpress.org/support/plugin/cf7-conditional-fields/](https://wordpress.org/support/plugin/cf7-conditional-fields/)
    -  This topic was modified 5 years, 9 months ago by [kyudos](https://wordpress.org/support/users/kyudos/).
    -  This topic was modified 5 years, 9 months ago by [kyudos](https://wordpress.org/support/users/kyudos/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdoesnt-play-nice-with-conditional-fields-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/page/2/?output_format=md)

 *  Thread Starter [kyudos](https://wordpress.org/support/users/kyudos/)
 * (@kyudos)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/#post-13284336)
 * I see some other people have similar issues – likely mine is the same. Hopefully
   your update will fix these too – thanks!
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/#post-13288478)
 * yes, I am aware of the issue. CF7 v5.2.1 has changed the way it handles dropdows,
   and this is affecting the plugin.
 * I am looking into this and will get a fix out soon.
 * In the meantime, please downgrade to CF7 5.2 and v3.3.5 of the smart grid.
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/#post-13296563)
 * here is a [pre-release of v3.3.7](https://github.com/aurovrata/cf7-grid-layout/releases/tag/v3.3.7rc1),
   can you manually install it and see if it works.
 *  Thread Starter [kyudos](https://wordpress.org/support/users/kyudos/)
 * (@kyudos)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/#post-13301589)
 * That seems to have fixed the problem of the hidden required fields, but there
   is still an issue with populating the conditional addresses. I get:
 * “There was an error trying to send your message. Please try again later.”
 * And WP Mail SMTP tells me:
 * “Mailer: Other SMTP
    You must provide at least one recipient email address.”
 * Suggesting that neither of my destination addresses are making it through (I 
   have two address selected from alternately visible conditional select fields.
   My form is set to email both addresses, but I have ‘clear on hide’on both of 
   them, so only one should be valid (populated) at a time).
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/#post-13305245)
 * >  My form is set to email both addresses, but I have ‘clear on hide’on both 
   > of them, so only one should be valid (populated) at a time).
 * Can you confirm if this issue goes away when you downgrade the smart-grid plugin?
 * If so, are you seeing any javascript error on form itself?
 *  Thread Starter [kyudos](https://wordpress.org/support/users/kyudos/)
 * (@kyudos)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/#post-13307286)
 * I haven’t tried downgrading specifically, but it certainly works if I disable
   the smart-grid plugin. I’ll see if I can find the links to downgrade and let 
   you know.
 *  Thread Starter [kyudos](https://wordpress.org/support/users/kyudos/)
 * (@kyudos)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/#post-13307331)
 * OK – I downgraded to 3.3.5 and the address choice works (once I’ve disabled the‘
   required’- ness on the fields of course).
 * So is it something to do with the Conditional Fields ‘clear on hide’? Both fields
   are being cleared on POST or something? I don’t know how to tell?
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/#post-13308750)
 * > So is it something to do with the Conditional Fields ‘clear on hide’?
 * yes, I suspect this could be the reason. Would you give me a little more description
   on how you setup those 2 fields?
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/#post-13308845)
 * >  (I have two address selected from alternately visible conditional select fields.
   > My form is set to email both addresses, but I have ‘clear on hide’on both of
   > them, so only one should be valid (populated) at a time).
 * Your form (on the page you shared: [https://www.irricad.com/](https://www.irricad.com/))
   doesn’t show any dropdown with email values, so I am confused as to how you capture
   your email addresses
 *  Thread Starter [kyudos](https://wordpress.org/support/users/kyudos/)
 * (@kyudos)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/#post-13313424)
 * CF7 allows you to alias items in select-boxes, so that the choice is different
   to the displayed text, using the pipe (|) character. This is useful for choosing
   email addresses without exposing them to spam.
 * This is my form:
 *     ```
       <div class="container">
         <div class="row">
           <div class="columns five">
             <div class="field"><label>Name<em>*</em></label>[text* Name]
               <p class="info-tip">Enter your full name</p>
             </div>
           </div>
           <div class="columns one-half offset-one">
             <div class="field"><label>Company<em>*</em></label>[text* Company]
               <p class="info-tip">Enter your company name</p>
             </div>
           </div>
         </div>
       </div>
       <div class="container">
         <div class="row">
           <div class="columns five">
             <div class="field"><label>Email<em>*</em></label>[email* Email]
               <p class="info-tip">Enter a valid email</p>
             </div>
           </div>
           <div class="columns one-half offset-one">
             <div class="field"><label>Phone<em>*</em></label>[tel* Phone]
               <p class="info-tip">Enter your phone number</p>
             </div>
           </div>
         </div>
       </div>
       <div class="container">
         <div class="row">
           <div class="columns five">
             <div class="field"><label>City</label>[text City]
               <p class="info-tip">Enter your city</p>
             </div>
           </div>
           <div class="columns one-half offset-one">
             <div class="field"><label>State / Province</label>[text State]
               <p class="info-tip">Enter your state or province</p>
             </div>
           </div>
         </div>
       </div>
       <div class="container with-toggle" id="PC5srM" data-group="">
         <div class="row">
           <div class="columns five">
             <div class="field"><label>Country<em>*</em></label>[select* Country include_blank "Afghanistan" "Albania" "Algeria" "American Samoa" "Andorra" "Angola" "Anguilla" "Antigua and Barbuda" "Argentina" "Armenia" "Armenia" "Aruba" "Australia" "Austria" "Azerbaijan" "Azerbaijan" "Bahamas" "Bahrain" "Bangladesh" "Barbados" "Belarus" "Belgium" "Belize" "Benin" "Bermuda" "Bhutan" "Bolivia" "Bonaire" "Bosnia and Herzegovina" "Botswana" "Bouvet Island (Bouvetoya)" "Brazil" "British Indian Ocean Territory (Chagos Archipelago)" "British Virgin Islands" "Brunei Darussalam" "Bulgaria" "Burkina Faso" "Burundi" "Canada" "Cambodia" "Cameroon" "Cape Verde" "Cayman Islands" "Central African Republic" "Chad" "Chile" "China" "Christmas Island" "Cocos (Keeling) Islands" "Colombia" "Comoros" "Congo" "Congo" "Cook Islands" "Costa Rica" "Cote d'Ivoire" "Croatia" "Cuba" "Curaçao" "Cyprus" "Cyprus" "Czech Republic" "Denmark" "Djibouti" "Dominica" "Dominican Republic" "Ecuador" "Egypt" "El Salvador" "Equatorial Guinea" "Eritrea" "Estonia" "Ethiopia" "Falkland Islands (Malvinas)" "Faroe Islands" "Fiji" "Finland" "France" "French Guiana" "French Polynesia" "French Southern Territories" "Gabon" "Gambia" "Georgia" "Georgia" "Germany" "Ghana" "Gibraltar" "Greece" "Greenland" "Grenada" "Guadeloupe" "Guam" "Guatemala" "Guernsey" "Guinea" "Guinea-Bissau" "Guyana" "Haiti" "Heard Island and McDonald Islands" "Holy See (Vatican City State)" "Honduras" "Hong Kong" "Hungary" "Iceland" "India" "Indonesia" "Iran" "Iraq" "Ireland" "Isle of Man" "Israel" "Italy" "Jamaica" "Japan" "Jersey" "Jordan" "Kazakhstan" "Kazakhstan" "Kenya" "Kiribati" "Korea" "Korea" "Kuwait" "Kyrgyz Republic" "Lao People's Democratic Republic" "Latvia" "Lebanon" "Lesotho" "Liberia" "Libyan Arab Jamahiriya" "Liechtenstein" "Lithuania" "Luxembourg" "Macao" "Macedonia" "Madagascar" "Malawi" "Malaysia" "Maldives" "Mali" "Malta" "Marshall Islands" "Martinique" "Mauritania" "Mauritius" "Mayotte" "Mexico" "Micronesia" "Moldova" "Monaco" "Mongolia" "Montenegro" "Montserrat" "Morocco" "Mozambique" "Myanmar" "Namibia" "Nauru" "Nepal" "Netherlands" "Netherlands Antilles" "New Caledonia" "New Zealand" "Nicaragua" "Niger" "Nigeria" "Niue" "Norfolk Island" "Northern Mariana Islands" "Norway" "Oman" "Pakistan" "Palau" "Palestinian Territory" "Panama" "Papua New Guinea" "Paraguay" "Peru" "Philippines" "Pitcairn Islands" "Poland" "Portugal" "Puerto Rico" "Qatar" "Reunion" "Romania" "Russian Federation" "Rwanda" "Saint Barthelemy" "Saint Helena" "Saint Kitts and Nevis" "Saint Lucia" "Saint Martin" "Saint Pierre and Miquelon" "Saint Vincent and the Grenadines" "Samoa" "San Marino" "Sao Tome and Principe" "Saudi Arabia" "Senegal" "Serbia" "Seychelles" "Sierra Leone" "Singapore" "Sint Maarten (Netherlands)" "Slovakia (Slovak Republic)" "Slovenia" "Solomon Islands" "Somalia" "South Africa" "South Georgia & S. Sandwich Islands" "Spain" "Sri Lanka" "Sudan" "Suriname" "Svalbard & Jan Mayen Islands" "Swaziland" "Sweden" "Switzerland" "Syrian Arab Republic" "Taiwan" "Tajikistan" "Tanzania" "Thailand" "Timor-Leste" "Togo" "Tokelau" "Tonga" "Trinidad and Tobago" "Tunisia" "Turkey" "Turkey" "Turkmenistan" "Turks and Caicos Islands" "Tuvalu" "U.S. Virgin Islands" "U.S. Minor Outlying Islands" "Uganda" "Ukraine" "United Arab Emirates" "United Kingdom" "United States" "Uruguay" "Uzbekistan" "Vanuatu" "Venezuela" "Vietnam" "Wallis and Futuna" "Western Sahara" "Yemen" "Zambia" "Zimbabwe"]
               <p class="info-tip">Enter your country of residence</p>
             </div>
           </div>
           <div class="columns one-half offset-one">
             [group group-dist_ir clear_on_hide]
             <div class="field"><label>Distributor Region<em>*</em></label>[select* Distributor1 include_blank "New Zealand|kermit@muppets.com" "Australia|misspiggy@muppets.com" "Americas|gonzo@muppets.com" "Middle East|fozzy@muppets.com" "Europe and North Africa" "Southern Africa and Kenya|animal@muppets.com" "China|rowlf@muppets.com" "Other markets|bunsen@muppets.com"]
               <p class="info-tip">Enter your world region</p>
             </div>[/group] [group group-dist_fq clear_on_hide]
             <div class="field"><label>Distributor Region<em>*</em></label>[select* Distributor2 include_blank "New Zealand|kermit@muppets.com" "Australia|terry@codemaster.com.au" "Other markets|kermit@muppets.com"]
               <p class="info-tip">Enter your world region</p>
             </div>[/group]</div>
         </div>
         <div class="container">
           <div class="row">
             <div class="columns five">
               <div class="field"><label>Select software of interest<em>*</em></label>[select* Software include_blank "IRRICAD Quote|kermit@muppets.com" "IRRICAD Demo|kermit@muppets.com" "IRRICAD Training|bunsen@muppets.com" "FastQuote Quote|kermit@muppets.com" "FastQuote Demo|kermit@muppets.com" "Other Request|bunsen@muppets.com"]
                 <p class="info-tip">Select software</p>
               </div>
             </div>
             <div class="columns one-half offset-one">
               [group group-irricad-user]
               <div class="field"><label>Are you an existing IRRICAD user?<em>*</em></label>[select* Current include_blank "Yes - I use version 18" "Yes - I use version 17" "Yes - I use version 16" "Yes - I use version 15" "Yes - I use version 14" "Yes - I use version 13" "Yes - I use version 12" "Yes - I use version 11 or older" "No"]
                 <p class="info-tip">Enter the version of IRRICAD you currently use</p>
               </div>[/group] [group group-fastquote-user]
               <div class="field"><label>Are you an existing FastQuote user?<em>*</em></label>[select* Current include_blank "Yes - I use version 5" "Yes - I use version 4" "Yes - I use version 3" "No"]
                 <p class="info-tip">Enter the version of FastQuote you currently use</p>
               </div>[/group]</div>
           </div>
         </div>
         <div class="container">
           <div class="row">
             <div class="columns full">
               <div class="field"><label>Message<em>*</em></label>[textarea* Message x5]
                 <p class="info-tip">Enter a brief message</p>
               </div>
             </div>
           </div>
         </div>
         <div class="container">
           <div class="row">
             <div class="columns nine">
               <div class="field"><label>This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy">Privacy Policy</a> and <a href="https://policies.google.com/terms">Terms of Service</a> apply.</label>
                 <p class="info-tip"></p>
               </div>
             </div>
             <div class="columns one-fourth">
               <div class="field"><label></label>[submit "Send"]
                 <p class="info-tip"></p>
               </div>
             </div>
           </div>
         </div>
       </div>
       ```
   
    -  This reply was modified 5 years, 8 months ago by [kyudos](https://wordpress.org/support/users/kyudos/).
 *  Thread Starter [kyudos](https://wordpress.org/support/users/kyudos/)
 * (@kyudos)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/#post-13313430)
 * And my conditions:
 *     ```
       show [group-irricad-user] if [Software] equals "IRRICAD Demo"
       show [group-irricad-user] if [Software] equals "IRRICAD Training"
       show [group-irricad-user] if [Software] equals "IRRICAD Quote"
       show [group-fastquote-user] if [Software] equals "FastQuote Quote"
       show [group-fastquote-user] if [Software] equals "FastQuote Demo"
       show [group-irricad-user] if [Software] equals "Other Request"
       show [group-irricad-user] if [Software] equals ""
       show [group-dist_ir] if [Software] equals ""
       show [group-dist_ir] if [Software] equals "IRRICAD Demo"
       show [group-dist_ir] if [Software] equals "IRRICAD Training"
       show [group-dist_ir] if [Software] equals "IRRICAD Quote"
       show [group-dist_ir] if [Software] equals "Other Request"
       show [group-dist_fq] if [Software] equals "FastQuote Quote"
       show [group-dist_fq] if [Software] equals "FastQuote Demo"
       ```
   
 *  Thread Starter [kyudos](https://wordpress.org/support/users/kyudos/)
 * (@kyudos)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/#post-13313441)
 * And finally my mail template:
 * **To**: [Distributor1], [Distributor2]
    **From**: IRRICAD <kermit@muppets.com
   > **Subject**: CONTACT US: [_raw_Software] **Additional**: Reply-To: [Email] 
   cc: [Software]
 * **Body**: <table width=”800″ border=”0″ cellpadding=”0″ cellspacing=”0″>
    <tr
   ><td><b>From:</b></td><td>[Name] <[Email]></td></tr> <tr><td><b>Company:</b></
   td><td>[Company]</td></tr> <tr><td><b>Phone:</b></td><td>[Phone]</td></tr> <tr
   ><td><b>City:</b></td><td>[City]</td></tr> <tr><td><b>State / Province:</b></
   td><td>[State]</td></tr> <tr><td><b>Country:</b></td><td>[Country]</td></tr> 
   <tr><td><b>User:</b></td><td>[Current]</td></tr> </table> <hr/>
 * [Message]
 * <hr/>
 * This e-mail was sent from a contact form on the IRRICAD website
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/#post-13315190)
 * > CF7 allows you to alias items in select-boxes, so that the choice is different
   > to the displayed text, using the pipe (|) character.
 * got it. I have a suspicion this might be the source of the problem, let me test
   this on my server and get back to you.
 * A small suggestion would be to manage your country list using the dynamic dropdown
   field available in the smart-grid plugin. See this [video tutorial](https://www.youtube.com/watch?v=t9he4Tca5o8&t=985s)
   I just released for more details.
 * Furthermore, enabling the dynamic dropdown as a select2 field would make it much
   easier for users to search their country.
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/#post-13316091)
 * Ok, I found the piped values were beign overwritten as I suspected.
 * I got a fix for this in [v3.3.7rc2](https://github.com/aurovrata/cf7-grid-layout/releases/tag/v3.3.7rc2).
   Would you test it on your setup and let me know if it works for you?
 *  Thread Starter [kyudos](https://wordpress.org/support/users/kyudos/)
 * (@kyudos)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/#post-13319516)
 * Yes it all works perfectly – thanks a lot!

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/page/2/?output_format=md)

The topic ‘Doesn’t Play Nice With Conditional Fields Plugin’ is closed to new replies.

 * ![](https://ps.w.org/cf7-grid-layout/assets/icon-256x256.png?rev=1834229)
 * [Smart Grid-Layout Design for Contact Form 7](https://wordpress.org/plugins/cf7-grid-layout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-grid-layout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-grid-layout/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-grid-layout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-grid-layout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-grid-layout/reviews/)

 * 16 replies
 * 2 participants
 * Last reply from: [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/doesnt-play-nice-with-conditional-fields-plugin/page/2/#post-13320847)
 * Status: resolved