Issue with Validation library |
[eluser]awpti[/eluser]
Okay, running the latest - 1.6.3 Problem: http://ignitedjobs.com/addjob/ Explanation: Following the examples in the User Guide results in notices that $this->validation->...var here... is not set. This goes away if I submit with even just one field filled in. I tried to avoid it by abusing ternary operators (yuck to that attempt), but I just can't figure out the cause. According to the UG, this is how it should be done. The Controller: Code: function validate() The View: Code: if($this->validation->error_string) { echo '<div class="notlive"><p>'.$this->validation->error_string.'</p></div>'; } |
Messages In This Thread |
Issue with Validation library - by El Forum - 07-11-2008, 04:42 AM
Issue with Validation library - by El Forum - 07-11-2008, 04:45 AM
Issue with Validation library - by El Forum - 07-11-2008, 05:01 AM
Issue with Validation library - by El Forum - 07-11-2008, 12:00 PM
Issue with Validation library - by El Forum - 07-13-2008, 11:45 PM
Issue with Validation library - by El Forum - 07-14-2008, 03:46 AM
Issue with Validation library - by El Forum - 07-14-2008, 06:02 AM
Issue with Validation library - by El Forum - 07-14-2008, 06:22 AM
Issue with Validation library - by El Forum - 07-14-2008, 07:02 AM
Issue with Validation library - by El Forum - 07-14-2008, 07:03 AM
Issue with Validation library - by El Forum - 07-14-2008, 07:09 AM
Issue with Validation library - by El Forum - 07-14-2008, 07:22 AM
Issue with Validation library - by El Forum - 07-14-2008, 07:57 AM
Issue with Validation library - by El Forum - 07-14-2008, 07:17 PM
Issue with Validation library - by El Forum - 07-14-2008, 10:30 PM
|