Can someone please advise me on the best command(s) to use to validate text entered into a form?
I have added validation to my script which checks whether there is actually any value in the field but I also need to check the following:
1) Whether a numeric or alpha-numeric entry has been made
2) Whether the entry starts with, ends with or contains within it a specific string or set of strings.
3) Whether the entry is in a specific format -- for example a date entry.
Thanks in advance for any help!