Hi,
Has anyone done this type of thing before or know any examples where I code get a code snippet to use as validation. I need to exclude info being entered in Chinese to a form text field.
Thx,
Mike
Hi,
Has anyone done this type of thing before or know any examples where I code get a code snippet to use as validation. I need to exclude info being entered in Chinese to a form text field.
Thx,
Mike
I haven't seen any code snippets or examples that do this, but it's possible to write your own custom validation using the gform_validation hook. Here is a tutorial on how to use the gform_validation hook:
http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_valiation%22_Hook
Maybe I should look at making sure the characters are valid not invalid.
If there was a definition of all the valid English characters then I could check that the input characters are all in the set.
Cheers
Mike