Hey all,<div><br></div><div>I&#39;ve been working on this site in need of a form_alter on the user_login form and using the below code the only item I&#39;ve been successfully able to alter is the submit button text. The account name doesn&#39;t change according to what I specified, nor do the other form items unset. I&#39;ve successfully altered the user_register form with a separate case in the module shown below. I have Login Destination and LoginToboggan installed and have tried variations on &#39;user_login&#39; to no avail and I still can&#39;t understand why one alteration (the submit value) works while the rest do not.</div>

<div><br></div><div>Any ideas??</div><div><br></div><div><div><br></div><div>function custommodule_form_alter(&amp;$form, $form_state, $form_id) {</div><div>  switch ($form_id) {</div><div><br></div><div>    //user login</div>

<div>    case &#39;user_login&#39;:</div><div><br></div><div>//      $output .= print_r($form);</div><div><br></div><div>      unset($form[&#39;name&#39;][&#39;#description&#39;]);</div><div>      unset($form[&#39;name&#39;][&#39;#suffix&#39;]);</div>

<div>      unset($form[&#39;pass&#39;][&#39;#description&#39;]);</div><div>      unset($form[&#39;pass&#39;][&#39;#suffix&#39;]);</div><div><br></div><div>      $form[&#39;account&#39;][&#39;name&#39;][&#39;#title&#39;] = t(&#39;E-mail address&#39;);</div>

<div>      $form[&#39;submit&#39;][&#39;#value&#39;] = t(&#39;Sign in&#39;);</div><div><br></div><div>      break;</div><div><br></div><div><br></div>Jake Roufa<br>208.557.9390<br><br>
</div>