Show only text in a form I just want to show the status of an item on one AJAX call. I cannot find any form element that allows me to only output text. I don't want a textfield form, since that would allow the users to enter a value.

How do I show text only in a form created with the form API?
If you want to show only text, use '#markup' form element, with syntax like this:

$form['status'] = array(
  '#markup' =&gt; '&lt;p&gt;' . variable_get('status', t('Off')) . '&lt;/p&gt;',
);