I have tested the code you supplied above. It does not apply to the first_name or last_name attributes on the registration form. After inspecting the code, it appears this would only apply to the username. Is that correct? We are not using usernames to log into the site, we are using email addresses, so I cant test if the code above only applies to username entries. Is there a way to alter the code to apply “no spaces” to the first_name and last_name entry fields?
Thanks!