[eluser]nuwanda[/eluser]
Two forms in one view is the question.
Each form should access its own method in the controller. Each method accesses its own validation instance.
/user/register
/user/login
Code:
function login(){
validate data
if errors(load view with errors)
}
function register(){
validate data
if errors(load view with errors)
}
Both call the same view. The view displays the validation errors for each form. Only one form at a time can have errors as it was generated by its own controller method. Obviously, the fields in the login form and the register form should be named differently so that the errors don't get displayed in the wrong form.
There should be no conflict.