Microsoftcrmportals.com Show and Hide field based on Lookup value on the Microsoft CRM Portals RRS feed

  • Question

  • Hi,

    I am new to Microsoft CRM portals, I am trying to show and hide custom entity field 'X' based on value'ABC' in custom lookup entity field'Y'.

    My question is where do I put the code(javascript) etc on my Dynamics CRM Portal.

    I am thinking it will go on the 'Customer Service - Create Case'->Custom Javascript and paste my java script at the end.

    I am trying something like this, not working for me. Please could you advice?



    function SetValue() {
        if (document.getElementById("rcsi_researchersupportneeded") !=null)// || (document.getElementById("rcsi_researchersupportneeded") !='Other(s)' ))
            var _Value = document.getElementById("rcsi_researchersupportneeded");
        if(_Value =='Research Question Formulation' || _Value =='Study Design')
        else {

    Friday, August 18, 2017 8:54 PM