custom "register" button on a form - problem with redirection How to make a custom register button in the user login form (block) so that it redirects to 'user/register' ?

Currently, when I click my custom "Register" button, the code in _mymodule_register is executed (I debugged), but the page just reloads, it does not go to user/register. I tried both drupal_goto and form redirect, but nothing works. 

function mymodule_form_user_login_block_alter(&amp;$form, $form_state, $form_id) {
  $form['actions']['register'] = array(
    '#type' =&gt; 'submit',
    '#value' =&gt; t('Register'),
    '#submit' =&gt; array('_mymodule_register'),
    '#limit_validation_errors' =&gt; array(),
  );
}

function _mymodule_register($form, $form_state) {
  $form_state['redirect'] = 'user/register';
  //drupal_goto('user/register');
}
Use below code to achieve the same functionality.

function mymodule_form_user_login_block_alter(&amp;$form, $form_state, $form_id) {
  $form['actions']['register'] = array(
    '#markup' =&gt; l('Register', 'user/register'),
  );
}


Theme it using css to look like a button. Done !