2 Replies Latest reply on Jan 2, 2016 4:13 PM by keywords

    Truncating text to fit field


      I have a simple text field in a portal that contains a description field.  If the amount of data enterer is too large to fit in the allotted space I get a "?" displayed.  Is there a simple way to make it just automatically truncate everything that won't fit.  Like most description fields, the important stuff is close to the start.


      Is there a way to avoid having to manually truncate the field to the available space?




        • 1. Re: Truncating text to fit field

          I've never seen a TEXT field show "?" when characters are exceeding the field display length. Could it be a NUMBER field instead?


          And can you clarify "truncate"? Field Definitions can have "Validation" to limit the length (# characters), but that would display a dialog to the user. Do you just want the field to disallow entry of # of character beyond?


          What does font size affect the field? For example, if the font is larger, less characters may be displayed.



          • 2. Re: Truncating text to fit field

            "I've never seen a TEXT field show "?""—neither have I. Usual thing with text fields is you just see what will fit, but the full text can easily be revealed by clicking into the field—or you can set a scroll bar.