I am using the Javascript version of FCKeditor and would like to limit the amount of text that can entered. Is there a configuration option to set the number of characters that can be entered in the editor, preferably minus the html markup (ie only count the displayed text)? Or if that option isn't available, can I get the length of the entered text when they click the submit button using javascript on the webpage, like you would with a regular html form?
Bill H
Bill H
Re: Limiting size
This assumes you have two form fields (hidden is fine), one called HTMLData and the other called HTMLDataLen.
If you want the number of text characters (without formatting) then you can use something like this:
Look at HTML Example 8 that ships with the download for more useful functions and information.
MD