Tree in a form

Hi,

Is it possible for a tree to be inside a form? I need to select the IDs of items in a tree. What is the best way to go about doing this?

Hi
Can you add an image, how do you see it?