Home ›
Putting text and HTML in forms in Drupal 5 FAPIPutting text and HTML in forms in Drupal 5 FAPI
Submitted by Benjamin Melançon on August 22, 2007 - 3:04pm
Form API
For '#type' => 'markup' form fields (which is the default type)
Use #value, not #description, to put in your HTML markup if you want anything to show up.
Agaric still wishes type markup could use all the same information but display it static, and not as a form, or even as a non-editable form.
Form API
For '#type' => 'markup' form fields (which is the default type)
Use #value, not #description, to put in your HTML markup if you want anything to show up.
Agaric still wishes type markup could use all the same information but display it static, and not as a form, or even as a non-editable form.
Comments
Post new comment