| drupal_execute | includes/form.inc | Retrieves a form using a form_id, populates it with $form_state['values'],
processes it, and returns any validation errors encountered. This
function is the programmatic counterpart to drupal_get_form(). |
| drupal_prepare_form | includes/form.inc | Prepares a structured form array by adding required elements,
executing any hook_form_alter functions, and optionally inserting
a validation token to prevent tampering. |
| drupal_process_form | includes/form.inc | This function is the heart of form API. The form gets built, validated and in
appropriate cases, submitted. |