Calc retrieved in calc in repeating groups

Hi,

I've just spotted a problem that bugs me big time. Let's say we have two calc elements (both with 'Ajax calculation' and 'Calc on load' switch on):

1) table1___element1:
Code:
return 'whatever';

2) table1___element2:
Code:
$value1 = '{table1___element1}';
return $value1;

When it's a non-repeating group - all fine, second calc displays 1st calc's value. BUT whet you put the same two calcs in a repeating group - there is no way the second element displays anything. It will save the correct value in database however, but when you open the form again, the saved value disappears and again it's just an empty string.

I'm lost. What am I doing wrong?
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top