I have created some fields in drupal 7 in create user administration. I want those fields in my custom form in my custom module in drupal 7.
I am not sure but this function attach_field_load() will do the trick. If someone can help.
Regards
There is no attach_field_load() function to the best of my knowledge, you're probably looking for field_attach_form():
function MYMODULE_my_form($form, &$form_state, $node) {
field_attach_form('node', $node, $form, $form_state);
}