Title: CF7 Conditional Field ( Problem )
Last modified: July 24, 2017

---

# CF7 Conditional Field ( Problem )

 *  Resolved [meiskv](https://wordpress.org/support/users/meiskv/)
 * (@meiskv)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cf7-conditional-field-problem/)
 * Hi Jules,
 * Again thank you for answering the call.
 * This is the sample problem.
 * [group a]
    [text* prize “Prize1”] [text* toClaim “Send 1 Box”] [/group a]
 * [group b]
    [text* prize “Prize2”] [text* toClaim “Send 2 Box”] [/group b]
 * I it showing the right data on the form page. But When I submitted the form and
   received the email. I only recieved the last group data. Also, if I change the
   group b fields name to prize1 or toClaim1. The problem would be I need to write
   all the [prize][prize1][prize2] on the email tab which is not the result format
   that I want on the email cause it will shown the right prize as Prize 1 and the
   others as [prize1][prize2].
 * Email Format Output:
 * Incorrect
    Prize 1 [prize2][prize3]
 * Correct
    Prize 1
 * Best Regards,
    Mikhail

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cf7-conditional-field-problem/#post-9346209)
 * as I said, your field names need to be unique. So instead of calling your text
   fields
 *     ```
       [text* prize "Prize1"]
       [text* prize "Prize2"]
       ```
   
 * call them
 *     ```
       [text* prize-1 "Prize1"]
       [text* prize-2 "Prize2"]
       ```
   
 * The same thing with toClaim. Call it `toClaim-1` and `toClaim-2`
 * Then in the email use this:
 *     ```
       [a][prize-1][/a]
       [b][prize-2][/b]
       ```
   
 * ps: all of this is described in the tutorial: [http://bdwm.be/wpcf7cf/how-to-set-up-conditional-fields-for-contact-form-7/](http://bdwm.be/wpcf7cf/how-to-set-up-conditional-fields-for-contact-form-7/)
    -  This reply was modified 8 years, 8 months ago by [Jules Colle](https://wordpress.org/support/users/jules-colle/).

Viewing 1 replies (of 1 total)

The topic ‘CF7 Conditional Field ( Problem )’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/cf7-conditional-field-problem/#post-9346209)
 * Status: resolved