JavaScript to Stop form submission if a field is less than 4 characters

JavaScript to Stop form submission if a field is less than 4 characters

I have a field that asks for the name of the person the request is for and I want them to actually enter a name, so I would like that field to stop form submission if the number of characters in that field is less than 4 characters.  Throw up an error stating you need to actually put a first name and last name in that field.

Thanks in advance for your help.

                  New to ADSelfService Plus?