FCKEditor form element, WYSIWYG editor


This element uses the most famous and feature rich WYSIWYG editor on the web, the FCK Editor v2. This element supports the required validation which uses JavaScript FCKEditorAPI calls to tell if the editor is empty.


= Array( 

'body' => Array(  

'type'           => 'mapMarker'
'displayname'    => 'Specify your location!'

'width'          => 350,    // width of editor in pixels, default: 700 
'height'         => 350,    // height of editor in pixels, default: 300 

'jspath'         => '/js/',
// Path (URL) to FCK Editor. Tries to find $GLOBALS['FCKEditorBasePath'] 
    // if jspath is not specified. Trailing slash required.

'includepath'    => '.../',
// filesystem path to fckeditor.php wrapper included in FCK Editor
    // releases. Trailing slash required.

'value'          => 'default value here'
'help'           => 'validation failed for this element'
'rowlayout'      => '...%element% %prefix% %postfix% etc...'
'prefix'         => 'string to display before element'
'postfix'        => 'string to display after element'
'readonly'       => 0
'display'        => 0
'htmlid'         => 'name1'


form validation for developers!

clonefish is a proven, mature form generator class that helps PHP developers to create, validate and process secure, flexible and easy-to-maintain forms
learn more
Bookmark and Share