Loopers for terms and conditions page

Hello I have a simple terms and conditions page and want to fill it out using Json and Loopers.

I set up the looper provider on the row level, then the consumer on the element and It’s only working for the first one.

Here is the loopers I am using.

Biz Name: {{dc:looper:field key=“company”}}
Email: {{dc:looper:field key=“email”}}
Number: {{dc:looper:field key=“phone”}}
Website: {{dc:looper:field key=“website”}}
Address: {{dc:looper:field key=“address”}}

And Json file

[
{
“company” : “Tesla Inc”
},

{
“email” : “email@website.com
},

{
“phone” : “8883334444”
},

{
“website” : “website.com
},

{
“address” : “Tesla Inc, California 24443, USA”
}
]

Thanks in advance!

Hello @lostimagination,

Thanks for writing in! Based on the post information, your JSON is incorrect. You should have something like this:

[
	{
		"company" : "Tesla Inc",
		"email" : "email@website.com",
		"phone" : "8883334444",
		"website" : "website.com",
		"address" : "Tesla Inc, California 24443, USA"
	},
	{
		"company" : "Another Company",
		"email" : "email@example.com",
		"phone" : "0987654432",
		"website" : "example.com",
		"address" : "Another Company, Berlin, Germany"
	},

]

Please correct your JSON and test the looper again.

Thank you! That fixed it!

You are most welcome, @lostimagination.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.