- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
I am trying to java script a yes/no set of radio buttons so that if someone marks the yes button a nearby numeric field becomes mandatory. The script I'm using seemed to work but once the person marks the yes button one time, even if they go back and change their answer to no it keeps giving them the mandatory field error message. Does anyone know what my script is missing? Here it is
if(this.rawValue =='2')
{
comappNUM1.mandatory = "error";
comappFC1.mandatory = "error";
}
else{
}
Views
Replies
0 Likes
Total Likes