Jump to content


Maicol Ortiz Tello's Content

There have been 4 items by Maicol Ortiz Tello (Search limited from 22-October 19)


By content type

See this member's

Sort by                Order  

#11816 validate fields according option.

Posted by Maicol Ortiz Tello on 16 November 2014 - 03:14 PM in I have a question

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!




#11812 validate fields according option.

Posted by Maicol Ortiz Tello on 16 November 2014 - 05:11 AM in I have a question

Hi all, I have a problem I need help.
tenho a form to add an article and a select box at the beginning if it is to indicate whether the article or just an image. good is that based on the choice of the select box depends hide and show some input that's ok, but I need some input validation and other all depends on the option chosen.
img1.PNG
 
img2.PNG

 




#11358 remove chosen in select

Posted by Maicol Ortiz Tello on 03 July 2014 - 06:58 PM in I have a question

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




#11356 remove chosen in select

Posted by Maicol Ortiz Tello on 03 July 2014 - 06:00 AM in I have a question

Hello there! everyone .. I wanted to know if you can remove the style to the select box, ie leave it as native html without plugins implement the "Chosen". 
is it possible?