Welcome Guest, Not a member yet? Register   Sign In
Problems with Callback Functions and Validation Class
#8

[eluser]Michael Ekoka[/eluser]
A little hack to help you for now:
Code:
function cinputCheck($str)
    {
        if ($str != $_SESSION["pass"]) // the correct value of captcha -> this validates ok,
                             // cos it doesn't proceed with the signup process
                              // successfully if you don't type the correct captcha.
        {
            $this->validation->_error_messages['cinputCheck'] = 'Incorrect Captcha characters.';
            return FALSE;                            
        }
        else
        {
            return TRUE;        
        }
    }


Messages In This Thread
Problems with Callback Functions and Validation Class - by El Forum - 03-16-2008, 04:18 PM
Problems with Callback Functions and Validation Class - by El Forum - 03-16-2008, 08:22 PM
Problems with Callback Functions and Validation Class - by El Forum - 03-16-2008, 09:57 PM
Problems with Callback Functions and Validation Class - by El Forum - 03-16-2008, 10:16 PM
Problems with Callback Functions and Validation Class - by El Forum - 03-17-2008, 12:00 PM
Problems with Callback Functions and Validation Class - by El Forum - 03-17-2008, 01:31 PM
Problems with Callback Functions and Validation Class - by El Forum - 03-17-2008, 01:34 PM
Problems with Callback Functions and Validation Class - by El Forum - 03-18-2008, 04:46 AM
Problems with Callback Functions and Validation Class - by El Forum - 03-18-2008, 03:50 PM
Problems with Callback Functions and Validation Class - by El Forum - 04-14-2008, 03:40 PM
Problems with Callback Functions and Validation Class - by El Forum - 04-14-2008, 07:39 PM
Problems with Callback Functions and Validation Class - by El Forum - 06-16-2008, 09:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB