Welcome Guest, Not a member yet? Register   Sign In
Form validation: Can I pass an error after a form has been validated (eg for login callbacks)?
#4

[eluser]SardiorDragon[/eluser]
In this situation I would think using Flashdata is the way to go. The error messages will only be generated using the Form Validation if they are set before the call to run and found during the call to run. The only way to set the error message for the password is to create a call back to check it, which you might not be able to do because you need the username to check which password to check.

I ran into the same situation and decided to just use Flashdata. It works great and solves the issue.


Messages In This Thread
Form validation: Can I pass an error after a form has been validated (eg for login callbacks)? - by El Forum - 06-25-2009, 09:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB