Loop field in PhP file

Access loop field values in a PHP file within ChronoForms.

Overview

The issue occurs when using incorrect syntax to retrieve a loop field value from a CF data structure.
Use the correct method call to access the loop field value.

Answered
ChronoForms v8
Pk Pkoll 27 Jul, 2025

Hi Max,

I have a loop action and want to use a loop.value in a PhP file. What is the definition for such a field? 

$this->data('filename") does not work. I have tried $this->data("loop3.value.fieldname") no result!

Greetings

Paul

Max_admin Max_admin 29 Jul, 2025
Answer

Hi Paul

it should be:

$this->get("loop3.value.fieldname")
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply