[newbie help]cant get form validation or re-population to work - 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: [newbie help]cant get form validation or re-population to work (/showthread.php?tid=27157) |
[newbie help]cant get form validation or re-population to work - El Forum - 02-02-2010 [eluser]zyddee[/eluser] Hi! I cant get the form validation to work.. It dosent post any validation errors nor re-populating the form, what im doing wrong plz? controller: Code: class Signup extends Controller { view: Code: <?php echo validation_errors(); ?> Best Regards! [newbie help]cant get form validation or re-population to work - El Forum - 02-02-2010 [eluser]zyddee[/eluser] Ah nevermind.. its ofcourse because i dosent pass the validation variables to the template when loading the view data.. outcome after a long day and being tired -.- [newbie help]cant get form validation or re-population to work - El Forum - 02-02-2010 [eluser]cahva[/eluser] I tested that(without using template lib) and it worked nicely. Comment out the template lines and just try to use the normal $this->load->view('signup'); and see if that makes a difference.. I really cant find anything else wrong there.. [newbie help]cant get form validation or re-population to work - El Forum - 02-02-2010 [eluser]cahva[/eluser] [quote author="zyddee" date="1265172160"]Ah nevermind..[/quote] Too late |