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

form JavaScript

$
0
0

Hi all,

I was trying to lock & unlock the form fields using the below code and it doesn't seem to be working.


Did i miss anything here?

function editpkey(){
var cform = Xrm.Page.ui.getFormType();
if (cform == 1){
Xrm.Page.getControl("name").setDisabled(false);
}


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>