#required attribute not letting me to redirect a drupal 7 form
Modifying $form_state requires passing it by reference to the function.

function mymodule_form_view(&amp;$form, &amp;$form_state) {
  $form_state['redirect'] = 'http://localhost/d7/?q=node/3';
}