I have an "address" field among the user fields. Here users can specify several entries for their addresses.They can create orders (these are custom content type nodes). The order node has a "shipping address" field. Users should be able to choose one address from their previously stored ones and use them on the order form.
How can I do this? What I have in mind is adding a custom js that makes an ajax call and fetches the addresses from the user fields. Is it a good idea or is there any simpler method?
It would be fine too if I can make a reference field to the user datas and users would see a combo box to choose their address from.