Displaying html correctly

jmahun 18 Jul, 2015
I'm using two similar forms, one to collect and save data to a table, the second to display data extracted from the table.

On the input form I have a few larger text fields for which I've turned on the WYSIWYG editor to allow the user to use bullets, bold, italic, etc,

On the display form I don't have the WYSIWIG editor turned on for those text fields. What happens is that the html codes are displayed with the text instead of the text with the html codes applied: <em>Example</em> instead of Example.

If I turn on the WYSIWYG editor on the display form, the attributes are applied correctly, but then the text fields have the editor toolbar. Since this form is for display and not editing, the toolbar is superfluous and even confusing for the viewer.

Is there a way to either suppress the WYSIWYG toolbar or otherwise display the text with html attributes applied correctly?
GreyHead 19 Jul, 2015
Hi jmahun,

If they aren't intended to be editable then you can use a Custom Code element with {input_name} in it.

Bob
This topic is locked and no more replies can be posted.