Welcome Guest, Not a member yet? Register   Sign In
Form Validation Error
#15

[eluser]CroNiX[/eluser]
Quote:So your saying for the first part I should be doing $this->input->post($post_var); where? you said directly but directly where.
Everywhere that you were previously using get_post($var) in. You don't have a search function in your IDE? I'm not a dentist and don't enjoy pulling teeth Smile

It looks like you are returning your data via JSON, so you won't be able to easily just display the individual error messages next to each form field unless you actually returned the just the form view portion with the errors parsed, and then replaced the existing form in the browser with the new one. That's pretty easy to do. There are other workarounds that can be done, but that would be the easiest.


Messages In This Thread
Form Validation Error - by El Forum - 07-31-2012, 10:46 AM
Form Validation Error - by El Forum - 07-31-2012, 10:59 AM
Form Validation Error - by El Forum - 07-31-2012, 11:01 AM
Form Validation Error - by El Forum - 07-31-2012, 11:17 AM
Form Validation Error - by El Forum - 07-31-2012, 11:20 AM
Form Validation Error - by El Forum - 07-31-2012, 11:32 AM
Form Validation Error - by El Forum - 07-31-2012, 11:37 AM
Form Validation Error - by El Forum - 07-31-2012, 11:44 AM
Form Validation Error - by El Forum - 07-31-2012, 11:50 AM
Form Validation Error - by El Forum - 07-31-2012, 11:53 AM
Form Validation Error - by El Forum - 07-31-2012, 11:56 AM
Form Validation Error - by El Forum - 07-31-2012, 11:59 AM
Form Validation Error - by El Forum - 07-31-2012, 12:10 PM
Form Validation Error - by El Forum - 07-31-2012, 12:22 PM
Form Validation Error - by El Forum - 07-31-2012, 12:30 PM
Form Validation Error - by El Forum - 07-31-2012, 12:38 PM
Form Validation Error - by El Forum - 07-31-2012, 12:39 PM
Form Validation Error - by El Forum - 07-31-2012, 12:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB