
when user enter course to follow,should have pre requirements. This is my code
if(document.application1.courseCode1.value ==1) { frmvalidator.addValidation("subject1","shouldselchk=biology","Should select Biology as 1st Subject"); } else { }
if(document.application1.courseCode1.value ==1) { frmvalidator.addValidation("subject2","shouldselchk=chemistry","Should select Physics as 2nd Subject"); } else { }
if(document.application1.courseCode1.value ==1) { frmvalidator.addValidation("subject3","shouldselchk=physics","Should select Chemistry as 3rd Subject"); } else { }
it is ok when we enter any subject.but if we enter biology,chemistry or physics then also error message display.
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.