[eluser]iive[/eluser]
hi obiron2,
here is what I do but I wonder my approach is good or not..
let's say I am doing a login form.. I have 1 controller called User.. and there are 2 functions inside...
a) function login (will call a view which display the login form)
b) function processLogin (will do the validation and process the login)
Once the user submit the form, the form will proceed to user/processLogin and we have validation rules there. If the use failed on our validation rules, processLogin function will capture the errors inside CI's validation object and store them into session then it redirects user back to login function. login function will capture the errors in the session and display the form...
That is what I am doing now to avoid the reload problem... I hope you can get what I mean