![]() |
Access Post-Validated POST Data - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Access Post-Validated POST Data (/showthread.php?tid=45759) |
Access Post-Validated POST Data - El Forum - 10-04-2011 [eluser]Refringe[/eluser] I want to access form data in my controller after my form has been submitted, but I want to access the data that's run through the form validation class. For example, if the value " TESTING " was submitted to a text field with the following validation rule attached how could I access the trimmed, lowercase value after form submission? Code: $this->form_validation->set_rules('username', 'username', 'trim|strtolower|required'); |