Welcome Guest, Not a member yet? Register   Sign In
Best way to tackle longer URL with form?
#2

[eluser]vitoco[/eluser]
i didn't get you completely, but from what i understood, you need default values in case of the validation fails, so if this is the case, you can set default values for the parameters of the method
Code:
public function hours($type = null , $action = null , $id = null )
{

  // VALIDATE HERE
}

Saludos


Messages In This Thread
Best way to tackle longer URL with form? - by El Forum - 06-26-2012, 03:54 PM
Best way to tackle longer URL with form? - by El Forum - 06-27-2012, 01:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB