PlainText drop-in replacement, with the ability to be set as disabled
, hidden
or readonly
Looking for the Craft 3 version? You're in luck, friend
Incognito Field adds a custom FieldType to Craft CMS, called Incognito. Incognito fields work exactly like regular PlainText fields, except that they can be configured to be disabled, readonly or hidden for element editor forms.
An example use case for Incognito fields is whenever you need a field that shouldn't be editable via the CP – e.g. if you want to save some data from a feed or external API on your element model.
Incognito Field works both standalone and inside Matrix blocks.
/incognitofield
folder to your /craft/plugins
folder/admin/settings/plugins
)Incognito Field works exactly like the vanilla PlainText field, but has an additional setting – mode. Set to "disabled" for a disabled text
input or textarea
, "readonly" if you want a more legible readonly field where you can still select the text, or "hidden" to completely hide the field.
Please see the official docs for the PlainText FieldType for more information.
This plugin is provided free of charge and you can do whatever you want with it. Incognito Field is unlikely to mess up your stuff, but just to be clear: the author is not responsible for data loss or any other problems resulting from the use of this plugin.
Please report any bugs, feature requests or other issues here. Note that this is a hobby project and no promises are made regarding response time, feature implementations or bug fixes.
Pull requests are extremely welcome