 <p>You should be able to handle that by conditionally adding a <a href="http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html/6#redirect" rel="nofollow">#redirect</a> attribute to the form.</p>