Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.
Custom Validation (Simple Module)
When developing traditional CI projects you can add custom validation callbacks, where the rule is in the appropriate controller file.
How do you implement this when writing a simple module, does the function go in the model file?
From what I have read, you need to add into the 'on_before_validate' method, calling it like;
$values['slug'] = url_title($values['name'], 'dash', TRUE);
$posted = $_POST;
$this->get_validation()->add_rule('icon', 'my_custom_validation', 'Where is your icon?', $posted['icon']);