Format for list

This format will apply the KT_FormatForList function on the selected field. This functions prepares the field content to be viewable in a list (e.g. a NeXTensio list), and it performs the following operations on the field:

  1. First, it removes all <head>, <link>, <style> and <script> opening and closing tags.

  2. Next, the less then and greater then ( < and >) characters are converted to their HTML codes (&lt; &gt;).

  3. Then the function checks the length of the field. If it is greater than a maximum number of characters, only a section will be kept (from the beginning, up to the maximum number of characters set).

  4. The last thing is to add a trailing "..." section, if the field's length is bigger than the maximum allowed number of characters.

When applied on a field, it becomes a parameter for the function. The result is no longer the exact field value, but the value returned by the function.