That didn't seem to work. It is still giving me the error message if I click the "yes" button one time, even if I go back and change my answer to "no". If I originally click the "no" button, it will let me proceed. But if I click "yes" it gives me an error (which I want), but the problem is that it wont let you change your anawer back to "No". It is as if once the command is activated it doesnt recognize if you unclick the "yes" button. Does that make sense? Here is the new script I entered with your recommended changes..
if(this.rawValue =='2')
{
comappNUM1.mandatory = "error";
comappFC1.mandatory = "error";
}
else{ comappFC1.manadatory = "disabled";
comappNUM1.mandatory = "disabled";
}