How to totalise variables gathered in repeating groups?

Hi,

My form has: 2 elements (date & field) gathered in a repeating group. In the php field of the respective calc element, I wrote this php script below
$n_lezioni = '{lezioni___durata_corso30}';
$result = $n_lezioni * 9;
return $result;
echo '<pref>';print_r($data);echo '</pre>';exit;

Nothing happens, what I'm doing wrong?

I'm using the template protostar with the last version of Fabrik for Joomla 3.3.6
Database Version 5.5.40-36.1
PHP Version5.4.32
element type: field, format integer
element typ: calc

Thank you for your help
 

Attachments

  • form_with repeating groups.png
    form_with repeating groups.png
    136.1 KB · Views: 160
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top