Read Only Display Plugin: How Do I actually pass HTML?
Read Only Display Plugin: How Do I actually pass HTML?
![cgoering](https://secure.gravatar.com/avatar/364434e58a97676ea128f5d6cf227d6f/?default=https%3A%2F%2Fvanillicon.com%2F364434e58a97676ea128f5d6cf227d6f_200.png&rating=g&size=120)
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