(SOLVED) How to get the row id of the Reapet Group List ?

jmoises

Active Member
Hello i have a form whit a repeat group i have one element field with the user id, and i like to show in other element field the name from that user id, (are diferents that is why not using user element)

In the name element i set to eval and add this code but is not working because the mytablename___userid have all the values from the list not the current row, "44,45,55" :

Code:
$user =& JFactory::getUser({mytablename___userid});
return $user->name;

How can i show only the value from that row?

OR:::
How should I get the proper ID ? (ie for repeat group number 2, I should get :
join___43___tableb___price_2 and join___43___tableb___quantity_2)


thank you
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top