Hi support,
I have a requirement to use the form_validation library and more specifically the
valid_username[new]and
valid_email[new]however, this is not working for me.
The valid_username fails with the following error:
Fatal error: Call to a member function helper() on a non-object in /Applications/XAMPP/xamppfiles/htdocs/invoicee/system/expressionengine/libraries/EE_Form_validation.php on line 116
Line 116 of EE_Form_validation.php is the following:
$this->CI->load->helper('string');The
valid_email[new]doesn’t error, but also doesn’t validate the email address against duplicates which doesn’t help a great deal!!
Am I missing something simple?
Thanks in advance, Joe
Hi Dan,
Yes, building an module which requires me to register members from within the control panel. I’m trying to use the form validation from within the mcp.my_addon.php file.
Cheers, Joe
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.