Alter form button title I use this to alter field labels:

function ninesixty_form_user_login_alter(&amp;$form, &amp;$form_state) {
    $form['name']['#title'] = t('Name');
}


But how do I change the title of the button? The button is &lt;button&gt; not &lt;input&gt; and it's for node creation form. Form id is titles-node-form.
Use this

In place of name put button name.

$form['name']['#value'] = t('Name');


Hope this will work