+1
Answered

Text character limit

doug 12 years ago updated by icahill (Administrator) 12 years ago 1
Seeing it done in some of your current apps, how do you go about limiting the amount of text that is rendered through a tag? I only ask because with some of the data that I am pulling from a datasource is much too long and I want to shorten it.

Is there an attribute that I can add that enables some sort of character limit?
Well the documentation actually didn't have this, so I took the liberty of updating it.

On a text tag, you can use an attribute called "maxlength" to set the maximum characters to display. This must be used in tandem with an attribute called "endcap" this will display a cap on the end, usually a "..." is appropriate.