I created a form and am using it with the User Registration add-on. I'd like to limit the field for username to now allow spaces.
I found a tutorial on not allowing certain characters in a field: http://www.gravityhelp.com/documentation/page/Gform_validation
When I try adding that to my
functions.php file, it crashed my site, until it's removed. Once that's figured out, how would I adapt the code to not allowing spaces, rather than "86" like in the example.