Forums / Setup & design / Xml block max lines/characters

Xml block max lines/characters

Author Message

Fou Jino

Monday 23 May 2011 6:02:13 am

Hi everyone,

If it's possible to specified a max characters or lines of a xml block datatype like the text line datatype ?

Thanks in advance !

Foujino ~ http://www.foujino-blog.be

Marko Žmak

Monday 23 May 2011 6:38:04 am

Not by default.

You could do an extension that does it (via content edit handlers), but think about what it implies. XML block can have a a lot of different formating and tags (bold, italic, links, images, tables...).

You could be abkle to count the characters (by stripping away the tags) but how would you count the lines with all this?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth