[eluser]dimis[/eluser]
I have a problem with fckeditor (the old version) and validation.
I want to be requiredput validation is passed
I tested all these but it does not work
Code:
....$this->load->library('form_validation');
$this->form_validation->set_rules('cart_name', 'name', 'required');
$this->form_validation->set_rules('FCKEDITOR1', 'description', 'required');
$this->form_validation->set_rules('FCKEDITOR2', 'text', 'required');
if ($this->form_validation->run() == FALSE || !isset($_POST['FCKEDITOR2']) || !isset($_POST['FCKEDITOR1']) || strlen(trim($_POST['FCKEDITOR1']))==0 || strlen(trim($_POST['FCKEDITOR2']))==0)...