Get the field value in markup? I have 2 fields in a content type. 

field_link and  field_hoster

if in the hoster field youtube is selected the markup should embed the linked video. 

can you guys give me a example of what i have to write in the markup field?
use hook_form_alter()

$form['field_name'] = array(
  '#type' =&gt; 'markup',
  '#markup' =&gt; $form['field_name'][#value]
);


or you can use prefix or suffix

$form['field_name']['#prefix'] = '&lt;div class="field-name"&gt;&lt;label&gt;'.$form['field_name']['#value'] .'&lt;/label&gt;';