I'm using Kohana framework for my project,I've very lengthy login page.Top of the page shows some static description,contains nearly 200 lines of text, while bottom have sign-up and sign-in forms,when an error occurs the fields will be popup with appropriate error messages,but template loads from top,So user unable to see the error messages.To achieve this how can I redirect user to error div when error occurs ? I'm changing template value as followsif($form_error)
$this->template = 'login#error_div';
but its not working
Thanks in advance