form validation no loading page view required |
Hi Everyone,
in my form validation, i don't want to load the whole html page, to trigger error, but i do not have idea how to do. Code: if($this->form_validation->run() == false) code above is work well, but when i convert the form_error('dblone_bc'); into variable so that i can pass the data into view but sad to say everything not work. please advise..
(11-18-2016, 06:28 PM)jaysondotp Wrote: Hi Everyone,How about: Code: $data['form_error'] = form_error('dblone_bc'); form_error return a string |
Welcome Guest, Not a member yet? Register Sign In |