 <p>I find out the solution for this</p> <pre><code>$form['field_first_name']['und']['0']['value']['#value'] = 'XXXXX'; $form['field_first_name']['und']['0']['value']['#attributes'] = array('readonly' =&gt; 'readonly'); </code></pre> <p>Try this. Suggest me Ok.</p>