hardkiffeur
Member
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 ?
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 ?