preselect a value of a Global List
Hi,
I thought preselecting a value of a Global List would be easy and may be it is but I'm stuck.
This is what I've got right now in an onload:
form.setValues("phonenrtype", form.getValue("curr_phonenrtype"), IDVault.globalList(null, "Phone-nr-types"))
What I'm trying to do is updating a user.
First I pick and read the user object setting the "curr_phonenrtype" field as a string but I also want the list that is editable to focus on that value since otherwhise it will be focused on "none" and that will be written to the object.
How can I do this ?
__________________
-----------------------------------
joakim . ganse_@_ accept-it . se
|