fixed: if php form plugin triggered a validation fail, we need to handle the error in the same way that the controller does when dealing with a invalid form