Protype ajax validation problem - 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: Protype ajax validation problem (/showthread.php?tid=10728) Pages:
1
2
|
Protype ajax validation problem - El Forum - 08-11-2008 [eluser]mdowns[/eluser] Maybe adding a check on false...Running out of ideas Code: $text = trim($this->obj->input->post('value')); Protype ajax validation problem - El Forum - 08-11-2008 [eluser]Michael;[/eluser] Nope, that didn't work either. Protype ajax validation problem - El Forum - 08-11-2008 [eluser]mdowns[/eluser] Are you using the CI validation library, then? Perhaps you can post your other working code and the controller. Protype ajax validation problem - El Forum - 08-11-2008 [eluser]Michael;[/eluser] Okay, now that I am done kicking myself, over, and over, and over, and over... This issue has been fixed. Turns out, if the $this->input->post('value') had no value I was skipping my validation routines entirely. I've been starring at this thing so much I just glossed over that line 1000 times or so in the last 2 days. Thank you for the help, but that line was off in and ajax controller and I stopped looking at it yesterday. *sighs* Protype ajax validation problem - El Forum - 08-11-2008 [eluser]mdowns[/eluser] Glad you figured it out |