Title: Conditional Fields Not Working
Last modified: February 9, 2018

---

# Conditional Fields Not Working

 *  Resolved [victoriaamoroso](https://wordpress.org/support/users/victoriaamoroso/)
 * (@victoriaamoroso)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/conditional-fields-not-working-4/)
 * Hello! Thank you so much for a useful plugin.
    I recently started to use the 
   conditional form capabilities on the form at the bottom of [this site](https://www.travelleadersnetwork.com/)
 * One of the questions in the form states: Are you an independent contractor (IC)*?
   and if the user clicks Yes on the radio button, a drop down text appears. It 
   was working a week ago and has stopped. I’ll paste my code below.
 * <table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″ style=”font-size:
   14px”>
    <tr> <td width=”50%” valign=”top” align=”left” style=”padding-right:50px;
   text-align:left”> [text* agency-name placeholder “Agency Name*”] [tel* YourPhone
   placeholder “Phone Number*”] <b>State*</b> _(select from dropdown)_: [select*
   State placeholder”select one” “Alabama ” “Alaska ” “Arizona ” “Arkansas ” “California”“
   Colorado ” “Connecticut ” “Delaware ” “District of Columbia” “Florida ” “Georgia”“
   Hawaii ” “Idaho ” “Illinois” “Indiana ” “Iowa ” “Kansas ” “Kentucky ” “Louisiana”“
   Maine ” “Maryland ” “Massachusetts ” “Michigan ” “Minnesota ” “Mississippi ” “
   Missouri ” “Montana” “Nebraska ” “Nevada ” “New Hampshire ” “New Jersey ” “New
   Mexico ” “New York ” “North Carolina ” “North Dakota ” “Ohio ” “Oklahoma ” “Oregon”“
   Pennsylvania” “Rhode Island ” “South Carolina ” “South Dakota ” “Tennessee ” “
   Texas ” “Utah ” “Vermont ” “Virginia ” “Washington ” “West Virginia ” “Wisconsin”“
   Wyoming”] [text* ZipCode placeholder “Zip Code”] ** <b style=”font-size:14px;”
   >Are you an independent contractor (IC)\*?</b> [radio independentcontractor default:
   0 “YES” “NO”] [group group-746] <fieldset>Travel Leaders Network only offers 
   membership to credentialed Travel Agencies which meet a minimum annual sales 
   threshold. If you’re an Advisor or an Independent contractor that’s currently
   with a Travel Leaders Network member agency, we encourage you to speak with your
   agency’s management to learn how you can access our programs. And if you’re not
   with a member agency and want to find one, visit travelleadershosts.com. </fieldset
   > [/group]
 *  <b style=”font-size:14px;”>Member of:*</b> [checkbox member “AMEX” “BCD” “ENSEMBLE”“
   SIGNATURE” “TRAVELSAVERS” “VIRTUOSO” “OTHER” “NONE”] <br>
    <b style=”font-size:
   14px;”>Registered with:*</b> [checkbox registered “ARC” “IATA” “CLIA” “ASTA” “
   TIDS” “TRUE” “TSID” “OTHER” “NONE”] </td>
 *  <td width=”50%” valign=”top” align=”left” style=”text-align:left”>
    [text* contact-
   name placeholder “Your Full Name*”] [email* your-email placeholder “Email Address*”]
   <b>Annual sales volume*</b> _(select from dropdown)_: [select* volume placeholder”
   select one” “Less than $250,000” “$250,001 to $750,000” “$750,001 to $1,250,000”“
   $1,250,001 to $2,500,000” “$2,500,000 to $5,000,000” “$5,000,000+”] <b>Percentage
   of annual CORPORATE sales*</b> _(select from dropdown)_: [select CorporateSales
   placeholder”select one” “0%-15%” “15%-30%” “30%-45%” “45%-60%” “60%+”] <b>Percentage
   of annual LEISURE sales*</b> _(select from dropdown)_: [select LeisureSales placeholder”
   select one” “0%-15%” “15%-30%” “30%-45%” “45%-60%” “60%+”]
 *  <div style=”text-align:right; font-size:12px; color:#ee3132″>_ * Required Fields_
   </div>
    </td> </tr> <tr> <td colspan=”2″ style=”padding-top:20px; text-align=”
   left”> <b>Enter your comments below so our representative can further assist 
   you</b> [textarea textarea-702 “”]
 *  <div align=”center”>[recaptcha]</div>
 *  [submit “SUBMIT”]
    </td> </tr>
 *  </td>
    </tr> </table>
 * Would you be able to assist please?
    Thank you so much!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconditional-fields-not-working-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/conditional-fields-not-working-4/#post-9958596)
 * there was no update, so it’s probably something you changed. check your conditions
   and see if they are uppercase.
 * if that doesn’t work try creating a smaller form and see if that works.
 * also make sure all your field names are unique.
 * keep in mind that groups resolve to div elements in HTML, so be careful nesting
   them in tables. try checking the generated HTML with an HTML validator
 *  Thread Starter [victoriaamoroso](https://wordpress.org/support/users/victoriaamoroso/)
 * (@victoriaamoroso)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/conditional-fields-not-working-4/#post-9958642)
 * Thank you for getting back to me so quickly!
 * So taking your advice, I tried making a new page and inserting your tutorial 
   code, but the drop downs wont even appear. Here is the [link](https://www.travelleadersnetwork.com/test-2/)
 * Any idea on what I could be doing wrong?
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/conditional-fields-not-working-4/#post-9958750)
 * Hey, you have javascript errors on your page. Press F12 to open your developer
   console for more info.
 * JavaScript errors cause all successive Javascript to break. That’s why the form
   does not work. You need to fix these errors first.

Viewing 3 replies - 1 through 3 (of 3 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/)

## Tags

 * [radio button](https://wordpress.org/support/topic-tag/radio-button/)
 * [troubleshoot](https://wordpress.org/support/topic-tag/troubleshoot/)

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