Adding a button to a form that links to an external URL I am trying to add another button to a user login form.  I am able to get the button to show up, but not to link to an external URL (example.org in the code below).  Code I am using is below:

&lt;?php

function MYMODULE_form_alter(&amp;$form, &amp;$form_state, $form_id) {
  if($form_id == 'user_login' || $form_id == 'user_login_block') {
    $form['change_pass'] = array(
      '#type' =&gt; 'button',
      '#prefix' =&gt; '&lt;div class="form-actions form-wrapper" id="change_pass"&gt;',
      '#suffix' =&gt; '&lt;/div&gt;',
      '#value' =&gt; t('Change Password'),
      '#weight' =&gt; 1000,
      '#submit' =&gt; array('MYMODULE_change_pass_submit'),
      '#limit_validation_errors' =&gt; array(),
    );
  }
}

function MYMODULE_change_pass_submit($form, &amp;$form_state) {
  drupal_goto('https://example.org', array('external' =&gt; TRUE));
}


Any thoughts?
You should use $form_state['redirect'] to redirect in form submit instead of drupal_goto
,I mean

function MYMODULE_change_pass_submit($form, &amp;$form_state) {

  $form_state['redirect'] ='https://example.org';
}