Conditional Fields not sending in mail
-
Hi Jules,
Really fantastic plug in! I am surprised that it isnt basic functionality of CF7 or they wanted to incorporate it in.
I am having issues sending the fields included within my conditional groups in the mail configuration. The form works correctly, depending on the value in no-of-dogs the appropriate fields will display to allow more information to be entered. However, when it comes to including these fields in the mail, they are always left blank.
Each field has a unique name, ive read through your tutorial content and I have it set up to reflect the same.
An extract below, this is part of the form
<div class="clearfix"> <h2>Your Information</h2> <div id="left"> [text* first-name placeholder "First Name"] [text* surname placeholder "Surname"] How many dogs do you want to register? [select no-of-dogs "1" "2" "3" "4" "5"] </div> <div id="right"> [email* email placeholder "Your e-mail address"] [tel* contactno placeholder "Contact Number"] How did you hear about us?[select hearabout "Facebook" "Instagram" "Google" "Friend" "Other"] </div> [group refer] Please provide the name of the person who referred you for special bonus for you both. <b>Name of refferer:</b> [text refer] [/group] </div> <h2>Dog Information</h2> <p>Please provide information for the dogs from <b>your household only</b> who will be attending the field. If you would like a friend to attend your booking with you, they will need to register separately.</p> <b>Dog 1</b> <div id="left"> [text* dog1-name placeholder "Dogs Name"] [text* dog1-breed placeholder "Breed"] DOB [date* dob-dog1] </div> <div id="right"> Is your dog reactive? [radio reactive1 default:1 "yes" "no"] Is your dogs flea & worming treatment up to date [radio flea1 default:1 "yes" "no"] Vaccination Card [file* vaccard1 filetypes:.png|.jpg|.jpeg|] </div> [group two-dogs] <b>Dog 2</b> <div id="left"> [text dog-2-name placeholder "Dogs Name"] [text dog2-breed placeholder "Breed"] DOB [date dob-dog2] </div> <div id="right"> Is your dog reactive? [radio reactive2 default:1 "yes" "no"] Is your dogs flea & worming treatment up to date [radio flea2 default:1 "yes" "no"] Vaccination Card [file vaccard2 filetypes:.png|.jpg|.jpeg|] </div> [/group]
and the corresponding mail config
Name: [first-name] [surname] Email: [email] Contact No: [contactno] How did they hear about us? [hearabout] Number of dogs to register: [no-of-dogs] Refer Name: [refer] [acceptance-escape] [acceptance-dig] [acceptance-tcs] Dogs Details Name: [dog1-name] Breed: [dog1-breed] DOB: [dob-dog1] Is Reactive? [reactive1] Flea/Wormed? [flea1] [two-dogs] Dog 2 Name: [dog-2-name] Breed: [dog2-breed] DOB:[dob-dog2] Is Reactive? [reactive2] Flea/Wormed? [flea2] [/two-dogs]
In my tests, the non group fields populate and are present in the mail. The group fields do not.
Let me know if you need any additional information of screenshots.
Thankyou
The page I need help with: [log in to see the link]
- The topic ‘Conditional Fields not sending in mail’ is closed to new replies.