# 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

![](https://879096944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M5_mFcvcxsA3M1QhbWd%2Fsync%2Feeb022ffd9904e10920bb92e632a2246ba2f3f33.png?generation=1609473962971885\&alt=media)
