How to add placeholders in customized module? I am new to drupal, currently I am creating a new module for forms. Inside of module I have added the code as follows .

$form['first name'] = array(
    '#type' =&gt; 'textfield',
    '#title' =&gt; t('First Name'),
    );  


In this case I wanted to use place holders for text fields. So how can I do ?
what do you mean by placeholders? a default value that prefills the textfield or some watermark text that disappears when you focus the textfield?
for a default value you can use the #default_value key in the text field definition.

for a watermark i recommend the Placeholder module. the module enables you to use a #placeholder key in your field definition.

cheers
j