hook_form_alter and fields in user_profile I know how to use hook_form_alter, but I'm little confused how to achieve this:

In user profile there are tabs "View" and "Edit".

In edit I can alter the form using switch statement on user_profile_form and adding a fields, but they don't appear when I click on "View" tab.

Let's say I'm adding a new field into the user_profile_form:

    &lt;?php

    /*
     * Implements hook_form_alter().
     */

    function my_module_form_alter (&amp;$form, &amp;$form_state, $form_id) {
            switch ($form_id) {
            case 'user_profile_form':


    $form['account']['skype_title'] = array(
            '#type' =&gt; 'markup',
            '#markup' =&gt; '&lt;div class="user-profile-skype"&gt;Skype edit&lt;/div&gt;'
            );

            $form['account']['skype'] = array(
            '#type' =&gt; 'textfield',
            '#title' =&gt; t('New Skype'),
            );

                  //krumo($form);   
            break;  

    }
}


How can I display this field into "View tab"?

Should I use another hook for this?
As Kaido24 mentioned, the profile view tab is not a form. You can add elements to it in hook_user_view_alter().