Well, there's two types of validation... you'll need to first verify that the numerals are in the right order, ie, you can't have IC or something, but you could have XC, or IX, but not VX or IL, etc. That's one validation.
The other validation that you would need is to make sure that ONLY characters used for roman numerals are input. If you're just working with I,V,X,L,C,D,and M, then any other character is invalid.
Does that make sense?
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
Offline 2,519 posts
since Dec 2003