I have a textfield, which takes ring sizes, which happen to be based on a range of letters, say i to v, or is to s. It varies depending on each ring.

Is there some Javascript function whcih I can use to validate this kind of field?
thanks a lot