PlaceHolder in comment Form I want to add a placeholder to my all comment form , here is what i did :  

template.php  

function ThemeName_form_alter(&amp;$form, &amp;$form_state, $form_id) {
    if ($form_id == 'search_block_form') {
        // HTML5 placeholder attribute
        $form['search_block_form']['#attributes']['placeholder'] = t('Serach ...');

    }


    switch ($form_id)  {
        case 'comment_form':
            $form['name']['#attributes']['placeholder'] = t( 'Name' );
            $form['subject']['#attributes'] = array('placeholder' =&gt; t('Subject'));
            $form['comment_body']['#attributes'] = array('placeholder' =&gt; t('comment'));

            break;
    }

}  


nothing happend , Any Help ?  

Thanks  

Update
Finally i could add placeholder to comment form like this  

function sizin_form_comment_form_alter(&amp;$form, &amp;$form_state)
{
    $form['author']['name']['#attributes']['placeholder'] = t( 'Name' );
    $form['author']['name']['#title']= FALSE;

    //Subject
    $form['your_comment']['subject'] = $form['subject'];
    $form['your_comment']['subject']['#title'] = FALSE;
    $form['your_comment']['subject']['#attributes'] = array('placeholder' =&gt; t('title'));
    unset($form['subject']);
    $form['your_comment']['subject']['#weight'] = -10;

    //Comment
    $form['your_comment']['comment_body'] = $form['comment_body'];
    $form['your_comment']['comment_body'][LANGUAGE_NONE][0]['value']['#attributes'] = array('placeholder' =&gt; t('comment'));
    unset($form['comment_body']);


}  


But i couldn't add to textarea(comment Body) ? AnyHelp ?
Reading through Placeholder module I come to know this 


  Once FAPI uses HTML5 to render elements, this module can be replaced
  by the "placeholder" attribute available as part of the HTML5 spec.
  You can update the FAPI to use the "placeholder" attribute right now
  by using elements module. This means that this module is only useful
  if you are concerned about older browsers that do not support
  "placeholder".


try using elements module so the support for HTML5 attribute can become available in your installation.

Here is the way to add default placeholder attribute.