Welcome Guest, Not a member yet? Register   Sign In
form_error not displayed
#10

Ok I've found something which can may help.

After following tutorial on Codeigniter official documentation, I have seen that whether there is success page or not, the view is directly loaded using:
PHP Code:
$this->load->view('form'); 

I have three forms in my application : 1 for login, an other to let the user changing his password, and a last one used to deal with client orders. The first form (login one) works perfectly using my function "getLayout('name_of_page')" to display it. The two others don't work using the same function but when I load the view directly (so without using "getLayout" and thus, without displaying header, nav and footer), there work, form_error() function displays errors as wanted.

So, I really don't understand why it happens this way. I don't know what to do with my getLayout function. One form works perfectly with it and the two others don't. It's not the first time I'm developping applications using CodeIgniter and I've never had this problem before.

If anyone has any idea I will be so happy :p

Regards !
Reply


Messages In This Thread
form_error not displayed - by Aurélienwww - 12-28-2014, 10:54 AM
RE: form_error not displayed - by Rufnex - 12-28-2014, 01:43 PM
RE: form_error not displayed - by Aurélienwww - 12-28-2014, 02:32 PM
RE: form_error not displayed - by includebeer - 12-28-2014, 07:33 PM
RE: form_error not displayed - by Aurélienwww - 12-29-2014, 02:47 AM
RE: form_error not displayed - by includebeer - 12-29-2014, 05:12 AM
RE: form_error not displayed - by Aurélienwww - 12-29-2014, 05:43 AM
RE: form_error not displayed - by Avenirer - 12-29-2014, 06:25 AM
RE: form_error not displayed - by Aurélienwww - 12-29-2014, 07:18 AM
RE: form_error not displayed - by Aurélienwww - 12-30-2014, 12:08 PM
RE: form_error not displayed - by mwhitney - 12-30-2014, 01:55 PM
RE: form_error not displayed - by includebeer - 12-31-2014, 06:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB