Restruct\InfoField\InfoField
This field lets you put an arbitrary piece of HTML into your forms, contained in a styled info-box.
<b>Usage</b>
<code>
new InfoField (
$name = "infofield",
$content = '<b>some bold text</b> and <a href="http://silverstripe.com">a link</a>'
)
</code>
Synopsis
Hierarchy
Extends
- SilverStripe\Forms\LiteralField