I have checkout function which uses
drupal_goto to redirect to the confirmation page after validating all info. I want to redirect to the confirmation page before all validation. Then in the background I need it to complete all validation and email me any errors.
drupal_exit so all further code stops running. I can implement my own
goto function without the
exit but then it won't redirect until all validation is completed. I need validation to run in the background after the redirect.