[eluser]dallen33[/eluser]
I just noticed in the form_validation there is:
Code:
function alpha_numeric($str)
{
return ( ! preg_match("/^([a-z0-9])+$/i", $str)) ? FALSE : TRUE;
}
Which is perfect for me wanting to limit it to a-z and 0-9. I think I should be able to make a function that limits spaces. I'll post back if I'm successful.