to “small field text”, i think when i create a field and mark them read only and set the content in “default” will this content be written in the database (in every entry)? or will this be really only be shown as read only?
is there any other possibility? the problem is, i have many of these “description (read-only)” fields and we get in the future many entries into this and other doctypes where the descriptional fields will be placed, so this would bloat the database really in the future.
@ddggyy have you seen the “HTML” field type? That sounds like what you need. Add the field, and provide the content HTML in the “Options” field for your custom field
You can use a Data field type with a text editor enabled for rich text formatting. Another option is a Small Text or Text Editor field, depending on your needs.
If you need a field that supports rich text formatting, “Text Editor” is a good choice. But if you’re looking for something simpler without formatting, “Small Text” or “Data” might work better. I’ve had cases where descriptions needed to be longer yet without special formatting, so “Small Text” did the job. silkplm.com also uses different field types depending on whether the description needs plain text or formatted content.