Welcome Guest, Not a member yet? Register   Sign In
Form validation postback breaks my uri naming convention
#5

[eluser]ReasonMan[/eluser]
Hmmm, now that i'm looking at it, i'm not sure. I guess I had a reason but i've put the preping in the first group of setters.

I know that's where my form sends me, but before I put the validation in there, after a submission commentInsert would redirect a uri I formed using information pulled from the db. Now with the validation in place, I need to end up on the same page, but with the error messages. If I redirect after a validation failure, I don't get my error messages. If I directly call showArticle, I get my messages, but I lose my uri naming. It seems like a route would fix this, but I don't really know where to begin. I'm still new to CI, only about a week in.


Messages In This Thread
Form validation postback breaks my uri naming convention - by El Forum - 04-16-2009, 09:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB