
In my project there is an option for updation,to update their details they have to enter their employeecode.i want to put some conditions for that employeecode. The employeecode starts with 'tr' and 'mh' followed by 5digits. ex: tr10700 mh10790
so i want to keep conditions that 1st two positions shud be letters and that too tr and mh,next positions shud be 5digits.if these conditions are not satisfied then it shud display some message like invalid code .....
also the entered employeecode shud match with empcode in database otherwise it shud giv invalid empcode....
how to do put these conditions,plz giv me the code....its urgent.... thk u.....
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.