Jump to content


Maicol Ortiz Tello

Member Since 30 Jun 2014
Offline Last Active Nov 19 2014 05:23 AM
-----

Posts I've Made

In Topic: validate fields according option.

16 November 2014 - 03:14 PM

perfect! I had not thought I did not think they could capture fields with $ this-> input-> post ();

 

my solution ...
    $post=$this->input->post();
    if($post['is_article']==1){
        $crud->required_fields('title','text','is_article','image');
    }else{
       $crud->required_fields('title','is_article','image'); 
    }

Thanks Amit Shah, Greetings from Chile!


In Topic: remove chosen in select

03 July 2014 - 06:58 PM

works perfectly thank you very much! Amit Shah. :)