I created a custom form under Manager -> forms and added it to a Help Topic, but when I view it on the new ticket page none of the formatting is displayed correctly, I just see the inline HTML.blankblankI don't know if this is a bug or if I am doing something wrong.  I'm using Chromium  65.0.3325.181 on Windows 10.

These fields have never allowed html formatting in them in previous versions, so I would say its working like it's always worked.

14 days later

Just to be pain in the ass: why then is allowed to format a text? Preview is formatted but submitted text is not. Very confusing.

15 days later

Also running into this, when creating the form we aren't manually doing any html, just using the editor in the custom form creator (which provides the same functionality as in tickets), so if we use this to create a list or even press enter to add a new line this all gets converted to html it seems without us having any say, but then gets rendered with the html showing so I would think this is a bug as if it was only meant to show only raw text then the custom form editor shouldn't allow any formating like it does currently.blank

5 months later

I couldn't find anywhere else this was mentioned, so I'm going to put it here for future reference:

This can be fixed by going here and following the instructions: https://github.com/osTicket/osTicket/pull/4494

The basics are to open ...spc\forms.php and creating an new line between line 10 and 11. Add the line shown below to the new line 11:

$POST['instructions'] = Format::htmldecode($POST['instructions']);

Write a Reply...