> For the complete documentation index, see [llms.txt](https://xoops.gitbook.io/xoops-modules-cookbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xoops.gitbook.io/xoops-modules-cookbook/form-classes/forms/xoopsformlabel.md).

# XoopsFormLabel

**Definition**

```php
XoopsFormLabel($caption="", $value="")
```

**Usage** This class prints a label, which is really just a piece of text.

This can be used with good effect instead of a XoopsFormText field if you do not want the field to be editable, e.g. in the case of an editing of a form, where you want to keep data from the first input and let it be transparent to the user, that the data is saved. back to Main Page

![](/files/-MPw6tQFwwXNGcK2-2uM)
