How to disable special characters and allow spaces

Hi Larissa. You can do that with the gform_field_validation filter. There are several discussions of that on this site. Here is one which shows the approach: the details about which characters to allow/block are slightly different:

If you need help modifying that code to meet your needs, please let us know here, or open a support ticket:
https://www.gravityforms.com/open-support-ticket/technical/

Thank you.