Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
default maxlength
System
I was wondering if anyone knows what the default maxlength for an average textbox is. The textbox does not have a maxlength specified but will not save when I try putting a huge table in. I am trying to paste a huge HTML table into a paragrapgh textbox which has the Visual Editor enabled. I know this defeats the purpose of a template but this is a special case scenerio. Any suggestions???
Find more posts tagged with
Comments
Migrateduser
There is actually a limit on the cgi textarea tag that I think you might be running into.
the resources I have seen on the web suggest that the limiting factor is the browser (note I am speaking about the cgi textarea tag... this is nothing TeamSite specific). The textarea tag that you use in templating uses the cgi tag so the limit is imposed there.
From what I can tell most browsers out there limit textarea input at 32k. you might want to think about limiting the total amount of input characters with a validation regex:
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=1910
Keep in mind that the validation regex checks the total number of characters (including html tags) input. not just what you can see in the WYSIWYG VF window.
Migrateduser
That would definitely make sense cause I have the regex running on other textareas (on different templates) and it is just check for 225 or less. This table I am trying to get into the template is WELL over that (somewhere around 200,000 characters. Trust me I am trying to get this solved in another manner, but this is what the user wants.....a bunch of tables listed in a row with 2,000+ items. GOod idea....no! Gotta figure something out, yeah! I might end up just bring the non-templated page over from where it exists now and putting our look and feel onto it and saying "There, it is what you had with a face lift." and watching how they react.
This isn't a customer as in someone who can go elsewhere and get this done. They realize this is a special case scenerio and just want anyhing that gets this to work or be brought over.