[b][red]This message was edited by hunny_bunny at 2004-4-25 2:11:26[/red][/b][hr]
In my program, the user enters a code which is 7 characters long. the first two characters have to be letters, the next two have to be numbers and the remaining three have to be letters. i want to ensure that the user can not save any incorrect entries of that code. i need to validate it but how would i do that? i need a message dialogue box to appear when the user clicks save and if the code is wrong to say something along the lines of 'you've entered the incorrect code'