NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: markster on May 07, 2013, 07:25:53 AM
-
I am trying to display a column in one of my browses as HTML. I have ticked the column setting: Allow xHTML in column, but it is only displaying the field's text which includes the HTML coding. When I create a separate field on the same parent form that contains the browse procedure that uses the field type: Display, and tick the Allow xHTML in column setting, the field's text IS displayed as HTML. I've enclosed a png file that shows the issue.
Regards,
Mark
[attachment deleted by admin]
-
did you perhaps tick on "allow xHtml in column header" and not "allow xHtml in column"?
cheers
Bruce
-
No. I definitely have the Allow xHTML in column option ticked, not the column header.
Mark
-
Update: I fiddled with the allow xHTML and allow unsafe xHTML settings and discovered the following: If there is only one <p> tag in the data field containing the HTML, then it will display. But if the data field contains more than one <p> tag, not only will it not display, but when you click on the browse row that contains the data nothing happens--you cannot select it.
Can you think of any workaround to allow all the HTML in a field to be displayed? I have created a table structure that will display in tree format, but I need to be able to display HTML data in one of the fields. For example, FAQ's with the answer in HTML.
Thanks,
Mark
-
just a thought,
your original screen shot, shows your html truncated, is your field big enough?
-
yeah, sounds to me like a field truncation problem as well. Check the "picture" on the browse column is not set to clip the field. (ie '@S255' would clip it to the first 255 chars, whereas '' wouldn't)
-
Yes, that was it! When I get my tree working, I'll try and post an example...
Thanks,
Mark