Eval into repeat group weird !

Hi friends,
If I've a repeat group in a form and want an eval like this :
$groups = JAccess::getGroupsByUser({$my->id}, false);
return $groups['1'];

var_dump :
array (size=4) 0 => int 2 1 => int 10 2 => int 23 3 => int 25

1) Into a calc element the Eval ok for the first Group but when i add a group I don't have the Eval (return FALSE) into the element.
2) Into a field element the Eval don't work for the first group but ok for the second.
3) Into a display element all work but no data entrie !


Into the same Group I've a user element and is ok on screen for both (repeat) but a 0 entrie for second entie if I save the form

Group is a repeat (Db join) one with 2 max reapeat.
Is it normal ?
 
Ok I do a calc element and add the group's configuration "copy value" and seems ok for my looking data "10",
but not for the user's element data on sav !
 
3) Into a display element all work but no data entrie !
This should be ok (display element doesn't store anything in the database)
2) Into a field element the Eval don't work for the first group but ok for the second.
I've recognized a similar issue: in the first repeat group a field element with a default string (no eval) has only the first letter, following repeat groups are ok
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top