Klas,
Sorry, be back on the same subject, but I think I've posted something and not heard back ...
So the problem is the same with u.name AS text and u.id AS value ...
I have a query for users of a particular group ...
SELECT #__users.name AS text, #__users.id AS value
FROM #__users INNER JOIN #__user_usergroup_map
ON #__users.id = #__user_usergroup_map.user_id
WHERE #__user_usergroup_map.group_id = 24
Order By #__users.name
All names appear in the select, but when I save, not save the ID field of the table!
Where is the problem?
I saw your comment, saying the field in the table?!
Free table in my field is varchar (100) which should record the value AS # __users.id
Tks,