I am having an issue where users are inputting special characters such as á, é, ñ, etc (ex. Sánchez) into form fields and these special characters are conflicting with a different software we use. Our goal is to not allow these special characters on the specific gravity form using gform_field_validation() on the firstname and lastname fields but I am really struggling to write something that will actually work in the functions.php file. I have tried reviewing Gravity Forms' documentation but I have little to no experience with PHP and I am hoping someone here can possibly assist me...
Gravity Forms Documentation URL: https://docs.gravityforms.com/gform_field_validation/
Form ID = 2
First Name Field ID = 8
Last Name Field ID = 17