22 Sep
2008
22 Sep
'08
3:09 a.m.
Amon, Check out the form_set_value() function. It's intended (I think) to be called from your field's validate function. There you can convert a list of names into ids. Also look into your field's _value() callback. There, you can convert a default value (list of ids) into a string. -Dave On Thu, 18 Sep 2008 10:10:22 +0200, "Ámon Tamás" <amont@5net.hu> said:
Hello,
I have a table with 10000+ record (id, name). I like to make a field like autocomplete but I like to get back the id not the name. Now I make this: