If the name is empty:
After submitting the form:
- How to check a string starts/ends with a specific string in jQuery ?
- PHP | Program to check a string is a rotation of another string
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.