Welcome Guest, Not a member yet? Register   Sign In
should i use redirect or view if validation error exists?
#3

[eluser]Unknown[/eluser]
hi PhilTem

maybe i will going to use this step,

if registration is failed because of validation error

i will use
Code:
$this->load->view()
to reduce redirect

and if registration successful

i will use redirect,
because if i use
Code:
$this->load->view()
if user refresh the page the post will repeat and the registration
will result to validation error and it will confuse the user.


Messages In This Thread
should i use redirect or view if validation error exists? - by El Forum - 11-02-2012, 09:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB