• Resolved dmayur

    (@dmayur)


    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 / : [email protected]

    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

    (@jules-colle)

    Hey, you have multiple fields called garden.

    Common problems Rule #1: All field names should be unique

    Thread Starter dmayur

    (@dmayur)

    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

    (@jules-colle)

    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

    (@dmayur)

    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

    (@jules-colle)

    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/

    • This reply was modified 4 years, 10 months ago by Jules Colle.
    • This reply was modified 4 years, 10 months ago by Jules Colle.
    Thread Starter dmayur

    (@dmayur)

    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

    (@jules-colle)

    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

    (@jules-colle)

    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

    (@dmayur)

    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

    (@jules-colle)

    Glad it worked out for you! ??

    Thread Starter dmayur

    (@dmayur)

    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.