Welcome Guest, Not a member yet? Register   Sign In
How To Retrieve Form Validation errors?
#5

[eluser]pickupman[/eluser]
a. Yes, that's the advantage of using json to respond. You can return arrays. You will just need to loop through the json array to append a validation error to a field.

b. Don't get yourself to confused with MVC/CI and jQuery. It would work the same way in just php. It just MVC/CI provides a structure to your code.


Messages In This Thread
How To Retrieve Form Validation errors? - by El Forum - 07-02-2010, 06:16 PM
How To Retrieve Form Validation errors? - by El Forum - 07-02-2010, 09:28 PM
How To Retrieve Form Validation errors? - by El Forum - 08-22-2010, 06:08 PM
How To Retrieve Form Validation errors? - by El Forum - 08-22-2010, 06:29 PM
How To Retrieve Form Validation errors? - by El Forum - 08-22-2010, 07:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB