Not get all data in return mail after sending input in several table rows
-
Hello!
I made a simple code to test and learn CF7 Smart Grid Design Extension.
I made a tabled input section, group of several input fields as table rows.
In front end form everything is OK, the plugin adds me a new row by pressing “Add Row” and sends me mail by pressing Send button.But – in mail i get only first input (first row) and not others i’ve created by “Add Row”.
My table code in text mode:
<div class=”container”>
<div class=”row”>
<div class=”columns full”>
<div class=”container cf7-sg-table” id=”cf7-sg-table-1594777215925″ data-button=”Add Row”>
<div class=”row cf7-sg-table”>
<div class=”columns one-half”>
<div class=”field”><label>Name*</label>[text* name placeholder “Name”]
<p class=”info-tip”>Insert your name</p>
</div>
</div>
<div class=”columns one-half”>
<div class=”field”><label>Surname*</label>[text* surname placeholder “Surname”]
<p class=”info-tip”>Insert your surname</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=”container”>
<div class=”row”>
<div class=”columns two offset-ten”>
<div class=”field”><label></label>[submit “Send”]
<p class=”info-tip”></p>
</div>
</div>
</div>
</div>And my “Message Body:”
Message Body:
Name: [name]
Surname: [surname]So, when I input:
in initial – first row:
(field name) Name1, (field surname) Surname1and in additional rows generated with “Add Row” button – second and third row
(field name) Name2, (field surname) Surname2
(field name) Name3, (field surname) Surname3after sending I only get in mail:
Message Body:
Name: Name1
Surname: Surname1and not others two.
What have I done wrong?
Please help me!
Rajko
I’m a novice in WordPress and I don’t have a lot of Expiriance in coding.
- The topic ‘Not get all data in return mail after sending input in several table rows’ is closed to new replies.