Email template only shows one repeater row instead of all rows

How to fix one of the most common repeater element mistakes in ChronoForms8

sirdna777 7d ago

Hello!

The Form Idea, that client can Add Multiple Height, Lenght and Width data and i can get these data to company email

I’m using ChronoForms 8 and I have a repeater area set up with three fields (height[n], lenght[n], width[n]). On the front end I can add multiple rows (up to 10), and they behave correctly in the browser. However, when I receive the notification email, I only ever see one row’s data, even though I’ve submitted three rows.

My repeater setup:

  • Key name: height[n]

  • Fields inside repeater:

    height[n]
    lenght[n]width[n]
  • Start Count: 0

  • Max Count: 10

I’ve added two pictures for reference:

  1. Repeater setup screenshot.

  2. Submit action screenshot showing the Email action and the Redirect to the thank-you page.

In the Submit actions, I have configured:

  • Email: to send form data to the notification address.

  • Redirect: to send users to the thank-you page after submission.

So my problem is that in Email template I only get one last repeater values, but i have added three in form frontend

so i get:  Height 3 cm  Lenght 3 cm Width 3 cm , but there shoud be more values, and in email template it shows ONLY LAST repetar values added, for example if i add height: 1 cm, wight: 1 cm, lenght: 1 cm, height: 2 cm,  wight: 2 cm, lenght: 2 cm, height:3 cm, wight: 3 cm lenght: 3 cm, in email template in only will see height: 3 cm wight: 3 cm lenght: 3 cm no the 1 and 2 cm

How can i fix that..? Should i add some action in Submit tab to make it work 

Are my repeater settings are correct..?

repeater1.jpg
repater2.JPG
sirdna777 7d ago
Answer

i have some progress, see picutre, now i have to go to sleep, but seem i have just have n in key name with no height

Email template only shows one repeater row instead of all rows image 1

Max_admin 6d ago

Hi sirdna777

The key name should be just "n", does it work now ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.

VPS & Email Hosting 20% discount
hostinger