Title: Select field in conditional group error
Last modified: June 21, 2021

---

# Select field in conditional group error

 *  Resolved [modjo38](https://wordpress.org/support/users/modjo38/)
 * (@modjo38)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/select-field-in-conditional-group-error/)
 * Hi,
    First of all, thanks for your plugin which fit well for our needs.
 * However, we noticed an issue with one of our forms :
 * We make appear a select field to choose a federal state when the USA country 
   is selected in a previous select field.
    Everything works well except when someone
   selects USA country and then selects a federal state (e.g. California), but decides
   to finally change the country.
 * Actually, an email is sent to a specific recipient according to the country (
   or the state for USA) selected. But in the case detailed below, an email is sent
   to the corresponding US state recipient while USA has been unselected.
 * I have the impression that the conditional fiel is kept in memory when is selected
   and then unselected.
 * Is it a normal behavior or a plugin little bug ?
 * Thanks for your help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fselect-field-in-conditional-group-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/select-field-in-conditional-group-error/#post-14580779)
 * I suspect either a problem with duplicate field names. (Are you using a “state”
   field multiple times in your form code?) [All field names should be unique](https://conditional-fields-cf7.bdwm.be/docs/troubleshooting/all-field-names-should-be-unique/)
 * Also this example might help you: [https://conditional-fields-cf7.bdwm.be/docs/faq/can-i-send-the-form-to-different-email-addresses-based-on-the-selection/](https://conditional-fields-cf7.bdwm.be/docs/faq/can-i-send-the-form-to-different-email-addresses-based-on-the-selection/)
 * A good way to speed up debugging would be to recreate your form in the form tester:
   [https://conditional-fields-cf7.bdwm.be/form-tester/](https://conditional-fields-cf7.bdwm.be/form-tester/)
   You can share the link, and I fix the errors for you and send you the working
   form link.

Viewing 1 replies (of 1 total)

The topic ‘Select field in conditional group error’ 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

 * [select field](https://wordpress.org/support/topic-tag/select-field/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/select-field-in-conditional-group-error/#post-14580779)
 * Status: resolved