Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

LabelledLiteralField - Does it exist?


Go to End


2 Posts   1822 Views

Avatar
Double-A-Ron

Community Member, 607 Posts

28 September 2009 at 12:14pm

Hi all,

I'm making a custom form and trying to use LabelledLiteralField (http://api.silverstripe.com/forms/fields-dataless/LabelledLiteralField.html)

However I get this error:
Fatal error: Class 'LabelledLiteralField' not found in ......

Is it depreciated?

Cheers
Aaron

Avatar
Ingo

Forum Moderator, 801 Posts

3 October 2009 at 10:10am

Nope, thats been deprecated a while ago - you can use LabelField with the $allowHTML argument instead.