{{ = post.body[:156] }}

On Nov 8, 12:15 pm, annet <annet.verm...@gmail.com> wrote:
> In order to not mess up my layout, I would like to limit the number of
> lines displayed from a textarea to three, measured in characters that
> is: 156 characters. The last word should be followed bij three dots.
> Is there a way to code this in the view, or am I better off putting a
> length validator on the field of type text?
>
> Kind regards,
>
> Annet.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to