How to override webform in template.php I've followed different tutorials but I cannot seem to override a field on my webform via a function in template.php.


  Theme is called: 'myTheme' Id of the form is:
  'webform_client_form_76' Id of the input:
  'edit-submitted-henkilotiedot-etunimi' Name of the input:
  'submitted[henkilotiedot][etunimi]'


The function I think should work:

function myTheme_webform_form_76 (&amp;$vars) {
    $vars['form']['submitted']['edit-submitted-henkilotiedot-etunimi']['#value'] = t('Name');
}


What is the correct format to override webform elements?
function [themename]_form_webform_client_form_76_alter(&amp;$form, &amp;$form_state, $form_id) {
// code of altering
}