Get single edit field from a content type I'm writing a module with a custom form. I would to add in this a form a field from an existent content type, with values.

For example: I've a content type "article" wth a node reference field "field_ref".

In my custom form I want to get this "field_ref" field, with values.
Is it possible?

I think that I could get the entire form and then get only the field but I don't like this solution :)
You can build a custom autocomplete text field to filter node reference results. Check this link http://timonweb.com/how-create-ajax-autocomplete-textfield-drupal-7 to build autocomplete text field.

You just need to change the query in above implementation.