Welcome Guest, Not a member yet? Register   Sign In
Fckeditor Form Validation
#1

[eluser]macleodjb[/eluser]
I've been having periodic problems with Fckeditor when it comes to validation. It will assume that the editor field is empty when in fact it has text inside. Thus preventing the form from being submitted.

This is what i have in my controller.
Code:
$this->load->library('fckeditor',array('instanceName' => 'resume'));
$this->fckeditor->BasePath = base_url().'system/plugins/fckeditor/';
$this->fckeditor->ToolbarSet = 'Default';
$this->fckeditor->Height = 400;
$this->fckeditor->Width = 700;
$this->fckeditor->Value = $resume_value;
$data['resume_box'] = $this->fckeditor->CreateHtml();

and this is what i have inside my view
Code:
<?php echo $resume_box; ?>

Anyone else have the same problem?


Messages In This Thread
Fckeditor Form Validation - by El Forum - 02-21-2009, 07:55 PM
Fckeditor Form Validation - by El Forum - 02-22-2009, 04:19 AM
Fckeditor Form Validation - by El Forum - 02-22-2009, 06:07 AM
Fckeditor Form Validation - by El Forum - 02-22-2009, 06:15 AM
Fckeditor Form Validation - by El Forum - 02-22-2009, 06:29 AM
Fckeditor Form Validation - by El Forum - 02-22-2009, 06:32 AM
Fckeditor Form Validation - by El Forum - 02-22-2009, 06:41 AM
Fckeditor Form Validation - by El Forum - 02-22-2009, 06:47 AM
Fckeditor Form Validation - by El Forum - 02-22-2009, 08:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB