Drupal Association members fund grants that make connections all over the world.
I want to create orders programatically in my custom form.
I would like to have addressbook form fields in this form too.
I noticed, that address fields are added in hook_form_alter, but there are many conditions and added variables, which doesn't exists in my custom form (checkout ID, existing customer profile).
Is it possible to display address fields in my custom form and attach address directly to one order?