Welcome Guest, Not a member yet? Register   Sign In
Problem with validation redirect
#7

[eluser]jacobson[/eluser]
I have a form with some validation. All data from the form are being processed to the process method in register function. There I set the validation rules and check whether errors appeared or not if so code $this->index() "redirect" the site with errors on my register site appeared. If I use the redirect('register') it does redirect to the proper site but errors do not appear. But it's not a problem with $this->index() or redirect('register') it's a problem with the URL which still shows the process in the URL after submitting the form.

In my index function in register controller I only load the register view.


Messages In This Thread
Problem with validation redirect - by El Forum - 07-06-2011, 07:20 AM
Problem with validation redirect - by El Forum - 07-07-2011, 08:52 AM
Problem with validation redirect - by El Forum - 07-07-2011, 09:11 AM
Problem with validation redirect - by El Forum - 07-07-2011, 09:22 AM
Problem with validation redirect - by El Forum - 07-07-2011, 09:26 AM
Problem with validation redirect - by El Forum - 07-07-2011, 09:28 AM
Problem with validation redirect - by El Forum - 07-07-2011, 03:01 PM
Problem with validation redirect - by El Forum - 07-07-2011, 08:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB