![]() |
Question about form_validation prepped data - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Question about form_validation prepped data (/showthread.php?tid=23160) |
Question about form_validation prepped data - El Forum - 10-02-2009 [eluser]0plus1[/eluser] I have an ajax request that points to this method inside the controller: Code: function edit_description(){ How come that the strip_tags gets completely ignored? Do I have to access the new data in another fashion other than input->post? p.s. majax is the Model that edits the data. Question about form_validation prepped data - El Forum - 10-02-2009 [eluser]n0xie[/eluser] The validation rules don't actually change the input data. Question about form_validation prepped data - El Forum - 10-02-2009 [eluser]0plus1[/eluser] [quote author="n0xie" date="1254499203"]The validation rules don't actually change the input data.[/quote] ah! Then why there are function that prep data? Edit: I get it now, to prep data for form repopulation.. sorry |