locked
Visible the field RRS feed

  • Question

  • I want to make field invisisble and visible on change of two option set . There are two options 1)Yes 2) No

    and also there are 2 option set Graduation and PostGraduation. If I select yes then only graduation should be there ,Postgraduation should be invisible and vice versa. If I say No then its working fine for first time . but again if m saying YES then then it dosent give Graduation visisble. How to do it???

    Wednesday, February 5, 2014 10:24 AM

All replies

  • function Test()

    {

    var v1=Xrm.Page.selectedOptionSet.getSelectedOption().text;

    if(v1=='yes') {

    Xrm.Page.ui.controls.get('new_gcvtxt').setVisible(true); } else { Xrm.Page.ui.controls.get('new_gcvtxt').setVisible(false); }

    }


    ms crm

    Wednesday, February 5, 2014 12:24 PM