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.

Form Questions /

LabelledLiteralField - Does it exist?


Reply


2 Posts   1152 Views

Avatar
Double-A-Ron

Community Member, 604 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.