Limit text of a field when displayed in List View?

2 posts by 2 authors in: Forums > CMS Builder
Last Post: March 18, 2016   (RSS)

Hi,  I there a way to limit the amount of text from a field when using the List View ?

This would cut off the text in a summary-type box at a fixed number of characters when a field is being displayed.

I could create a dedicated summary field and only display that in List View, but I think the client would prefer not to have an extra field to fill out.

I think there is a simple 'limit' command to enter, thanks in advance,

J. 

macwebster

By Damon - March 18, 2016

Hi,

Here is a post that includes code to either display the first X number of characters or limit the numbers of words that appear:

http://www.interactivetools.com/forum/forum-posts.php?postNum=2201560#post2201560

Take a look and let me know if either of these methods will work for you.

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/