placeholder on searchbox
Install Placeholder module. Using this module you can convert any label of any elements of any form in your site in to a placeholder. Just add the CSS style of the form element in to this module configuration and it will do the rest of the jobs



You can also try this

$form['search_form']['#attributes'] = array('placeholder' =&gt; 'Search ...');