- Radio Buton - On Change Java Script
- Posted by Snow White on May 5th, 2008
hi
I have a radio field on the form. Basically I want to make another field
mandatory if the value in radio field = yes. By default the value = no. This
is the code I have below but it doenst work,.
Any help would be appreciated
if (crmForm.all.radio.DataValue == true
{
crmForm.all.SetFieldReqLevel("address1_line1",1);
}
Kind Regards
Snow White
- Posted by µ¶¿Í on May 5th, 2008
The MS CRM SetFieldReqLevel function was taken away (for some reason)
in CRM 3.0.
But you can write your code as below,this is of course not supported
by MS.
crmForm.all.address1_line1.setAttribute("req", 2);
crmForm.all.address1_line1_c.className = "req";
Similar Posts
- Java Script - On change for lookup (Windows CRM) by Ridhima Sood
- I E script error while listening to Radio on the WMP Help pls (Microsoft Windows) by Roger
- Java/Java Script (Windows XP) by Sarah
- Java, java script (Windows XP) by Ron
- Java Script problem with java from publisher (Home and office) by Lon

