CuteEditor for PHP 6.1 Class Library

Editor.MaxTextLength Property

Gets or sets the maximum number of characters excluding the HTML tags allowed in the Cute Editor. Default is zero, indicating no maximum.


Example Code

<?php
         $editor=new CuteEditor();
         $editor->ID="Editor1";
         $editor->Text="Type here";
         $editor->FilesPath="CuteEditor_Files";
         $editor->MaxTextLength=2000;
         $editor->Draw();
         $editor=null; 

         //use $_POST["Editor1"]to catch the data
?>

See Also

Editor Class | CuteEditor Namespace