Title: Something is wrong
Last modified: May 18, 2020

---

# Something is wrong

 *  Resolved [dmayur](https://wordpress.org/support/users/dmayur/)
 * (@dmayur)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/something-is-wrong-please-help/)
 * Hello All…Hope all are healthy and safe..
 * I am trying to create a registration form. There are basic fields like name, 
   address, email id, phone number in the form.
 * Code is as follows
 * <label> Name : (required)
    [text* your-name] </label>
 * <label> Address : (required)
    [text* your-address] </label>
 * <label> Mobile Number : (required)
    [text* your-number] </label>
 * <label> Email : (required)
    [email* your-email] </label>
 * <label> Choose City : (required)
    [select* city “- Select City -” “London” “Delhi”“
   Mumbai” “New York” “Calcutta”]</label>
 * [group london]
 * [select* garden “- Select Garden -” “A” “B” “C” “D”]
 * [/group]
 * [group delhi]
 * [select* garden “- Select Garden -” “E” “F” “G” “H”]
 * [/group]
 * [group mumbai]
 * [select* garden “- Select Garden -” “1” “2” “3” “4”]
 * [/group]
 * [group newyork]
 * [select* garden “- Select Garden -” “5” “6” “7” “8”]
 * [/group]
 * [group calcutta]
 * [select* garden “- Select Garden -” “l” “m” “n” “o”]
 * [/group]
 * <label> Reference : (required)
    [text* your-reference] </label>
 * <label> Co-Reference : (required)
    [text* your-co-reference] </label>
 * [submit “Click to fill Form “]
 * When I select City, it automatically shows the garden in that city. But I am 
   not receiving that garden name in the mail. I am only receiving “- Select Garden-”
   in the mail.
 * I know there is something wrong in my code. But I am not exactly getting the 
   answer. And the surprise is I have received right answer 2 times out of 25 via
   same form.
 * Please can anybody help me…
 * This is how i get email
    ————————————————————————– From: XYZ ABC
 * Address : Lane-1, India
 * Mobile Number : 9090909090
 * Email / : [abc@gmail.com](https://wordpress.org/support/topic/something-is-wrong-please-help/abc@gmail.com?output_format=md)
 * City : London
 * Garden : [garden]
 * Reference : LMNOP
 * Co-Reference : EFGHIJK
    ————————————————————– Only not receiving Garden part 
   in mail…Rest I am receiving via mail….
 * TIA…

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

 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/something-is-wrong-please-help/#post-12826368)
 * Hey, you have multiple fields called garden.
 * Common problems [Rule #1: All field names should be unique](https://conditional-fields-cf7.bdwm.be/docs/troubleshooting/all-field-names-should-be-unique/)
 *  Thread Starter [dmayur](https://wordpress.org/support/users/dmayur/)
 * (@dmayur)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/something-is-wrong-please-help/#post-12827289)
 * Hi…Thank you again…I changed the multiple fields garden to garden1, garden2, 
   etc…..
 * When i checked, it showed me proper answer in the mail…when i checked again, 
   it is again showing me ‘select garden’. I checked almost 5 times…What would be
   the problem sir??
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/something-is-wrong-please-help/#post-12827374)
 * Your question isn’t clear to me.. Does any of this answer your question?
 * A couple of thoughts:
    – changing the form will only affect FUTURE mails – If
   you text is still “- Select Garden -“, it will of course show “- Select Garden-“,
   if you want to change that, change it to “- Select Garden 1 -” etc. (probably
   not what you want though)
 * If not, please add some more detail to your question.
 *  Thread Starter [dmayur](https://wordpress.org/support/users/dmayur/)
 * (@dmayur)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/something-is-wrong-please-help/#post-12827481)
 * Hello Sir,
 * I changed the as per your reply…please check below..
 * <label> Choose City : (required)
    [select* city “- Select City -” “London” “Delhi”“
   Mumbai” “New York” “Calcutta”]</label>
 * [group london]
 * [select* garden “- Select Garden -” “A” “B” “C” “D”]
 * [/group]
 * [group delhi]
 * [select* garden1 “- Select Garden -” “E” “F” “G” “H”]
 * [/group]
 * [group mumbai]
 * [select* garden2 “- Select Garden -” “1” “2” “3” “4”]
 * [/group]
 * [group newyork]
 * [select* garden3 “- Select Garden -” “5” “6” “7” “8”]
 * [/group]
 * [group calcutta]
 * [select* garden4 “- Select Garden -” “l” “m” “n” “o”]
 * [/group]
 * After I changed everything…I got proper answer in mail…
 * City : newyork
 * Garden : 7
 * So i thought to try again with different options…
 * But i again got – Select Garden – in mail for 5 times…
 * It worked only for 1 time…rest it again showed me the old answer
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/something-is-wrong-please-help/#post-12827513)
 * Hmm.. Are you using conditional tags in the email body as well? Like so:
 *     ```
       Selected garden:
       [london]
         [garden1]
       [/london][delhi]
         [garden2]
       [/delhi][mumbai]
         [garden3]
       [/mumbai][newyork]
         [garden4]
       [/newyork][calcutta]
         [garden5]
       [/calcutta]
       ```
   
 * More information here: [https://conditional-fields-cf7.bdwm.be/docs/faq/can-i-use-conditional-logic-in-the-email-message/](https://conditional-fields-cf7.bdwm.be/docs/faq/can-i-use-conditional-logic-in-the-email-message/)
    -  This reply was modified 6 years, 1 month ago by [Jules Colle](https://wordpress.org/support/users/jules-colle/).
    -  This reply was modified 6 years, 1 month ago by [Jules Colle](https://wordpress.org/support/users/jules-colle/).
 *  Thread Starter [dmayur](https://wordpress.org/support/users/dmayur/)
 * (@dmayur)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/something-is-wrong-please-help/#post-12827522)
 * These are fields in MAIL section of contact form
 * From: [your-name]
 * Address : [your-address]
 * Mobile Number : [your-number]
 * Email : [your-email]
 * City : [city]
 * Garden : [assembly]
 * Reference Person : [your-reference]
 * Co-Reference Person : [your-co-reference]
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/something-is-wrong-please-help/#post-12827565)
 * `Garden : [assembly]` ?? What is assembly? Why are you not including the [garden1],[
   garden2], …
 * I’m getting really confused about what you are trying to do here..
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/something-is-wrong-please-help/#post-12827578)
 * I think you just need to change it like this:
 *     ```
       From: [your-name]
   
       Address : [your-address]
   
       Mobile Number : [your-number]
   
       Email : [your-email]
   
       City : [city]
   
       Garden : [london][garden1][/london][delhi][garden2][/delhi][mumbai][garden3][/mumbai][newyork][garden4][/newyork][calcutta][garden5][/calcutta]
   
       Reference Person : [your-reference]
   
       Co-Reference Person : [your-co-reference]
       ```
   
 *  Thread Starter [dmayur](https://wordpress.org/support/users/dmayur/)
 * (@dmayur)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/something-is-wrong-please-help/#post-12827773)
 * Hi…Thank you so so much…
 * I was not writing [/london] [/delhi] [/mumbai] [/newyork] [/calcutta] these in
   my mail option…
 * IT WORKED…
 * Thank you again…
 * GOD BLESS
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/something-is-wrong-please-help/#post-12827786)
 * Glad it worked out for you! 🙂
 *  Thread Starter [dmayur](https://wordpress.org/support/users/dmayur/)
 * (@dmayur)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/something-is-wrong-please-help/#post-12850398)
 * Hi Jules…
 * Thank you for your help few days back…I have come up with one more issue…
 * This is the mail section of my form…if you remember…
 * From: [your-name]
 * Address : [your-address]
 * Mobile Number : [your-number]
 * Email : [your-email]
 * City : [city]
 * Garden : [london][garden1][/london][delhi][garden2][/delhi][mumbai][garden3][/
   mumbai][newyork][garden4][/newyork][calcutta][garden5][/calcutta]
 * Reference Person : [your-reference]
 * Co-Reference Person : [your-co-reference]
 * HOW TO MAKE GARDEN a required field??
 * When I was testing, few people are not selecting anything from the field and 
   still the form is getting submitted. I want to make that field compulsory…

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

The topic ‘Something is wrong’ 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/)

 * 11 replies
 * 2 participants
 * Last reply from: [dmayur](https://wordpress.org/support/users/dmayur/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/something-is-wrong-please-help/#post-12850398)
 * Status: resolved