Read Only Display Plugin: How Do I actually pass HTML?
Read Only Display Plugin: How Do I actually pass HTML?
cgoering
Posts: 1Questions: 1Answers: 0
I am trying to use the "Read Only Display" field type plug-in for editor, but the example doesn't show you you actually define the HTML that you want to appear in the field. Am I misunderstanding what this plug-in is supposed to do?
Answers
Its a field, so it will display whatever the value of the field is. Think of it as the same as the
text
input, just without aninput
element.If your field doesn't actually exist on the server, then use
fields.def
to set a default value to display.Allan