I have a form that works when the form action is set to
That works find it displays the error if the details are missing/incorrect and displays the correct page if the correct details are used.Code:form action="login/login.php"
But as soon as I change it to this
It don't work fully it only displays the first error message it hits.Code:form action="javascript:ajaxpage('login/login.php', 'mainarea');"
Notes:
mainarea is a container that holds all the data, the site is AJAX but this seems to be a JavaScript error.