We want to silently submit a Drupal6 form to a marketing partner, and redirect the user to page on our site. Is this the correct syntax?
function my_form_submit($form, &$form_state) {
$form_state['action'] = url('http://example.com/?method=cSurveyWebservice.submit&mode=test');
$form_state['redirect'] = array('campaign/thank-you');
}
Certainly it processes and redirects, although I'm not sure how to independently validate if the form is actually posted to the specified URL.