Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

How to make field Required is option set value is true in power apps portal

$
0
0
I have Tested the following code but its not working
$(document).ready(function(){
    
            $("#tfs_businessfiledforbankruptcy").change(RequiredPBC);
         });
         function RequiredPBC(){
             debugger;
             var Checked =  $("input[id='tfs_businessfiledforbankruptcy_1']:checked").val();
             if(Checked==1)
             { 
                 $("#tfs_typeofbusinessbankruptcy").attr('required'true);
                 $("#tfs_typeofbusinessbankruptcy").closest("td").find("div.info").addClass("required");
                 
             }
             else{
                $("#tfs_typeofbusinessbankruptcy").attr('required'false);
                $("#tfs_typeofbusinessbankruptcy").closest("td").find("div.info").removeClass("required");
    
             }

         }

Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images