Having trouble getting your content under the maximum length limit of a given field? Use the steps below to find out how many characters you're actually using, depending on which type of text field you're working with.
In the CMS, there are 2 types of text fields:
- Basic text fields - no formatting allowed (all text fields that do not have the WYSIWYG buttons)
- Example: all 'Title' fields
- Text Editor (WYSIWYG) fields - allow you to add formatting (bold, bullets, etc)
- Example: the 'Body' field of a Page
Find the character length of basic text:
Because basic text contains no formatting, finding the length is fairly straightforward:
- Copy the text in question
- Open a new blank Word doc
- Right-click in the doc and select the 'Keep Text Only (T)' button from the pop-up menu (click image to zoom)
- Click the 'Words:' button in the bottom bar of Word (click image to zoom)
- The 'Characters (with spaces)' number shows the actual length of the text (see above)
Find the character length of WYSIWYG text:
Because WYSIWIG editors allow you to add formatting, the length of your text is actually longer than the simple count of characters that are displayed. All formatting is done via HTML 'in the background', but is part of the content and is counted as such.
- Click the 'Disable rich-text editor' at the bottom of the text editor
- Select all the content
- Click inside the field
- Press Ctrl+A (select all), then Ctrl+C (copy)
- Follow steps 2-5 from the basic text instructions, above
Tables often double the length of WYSIWYG content, because each cell, row and column must be defined in HTML. Whenever possible, try simpler formatting, such as bullet lists. If tables are necessary, keep them simple (limited columns and rows).