top of page

Disable aos campos de uma seccção num formulário do CRM 4.0



function DisableTabSectionFields(TAB_ID, SECTION_IDX) { //TAB_ID –> tab0 for the first TAB var tab = document.getElementById(TAB_ID); //SECTION_IDX –> 0 for the first section var sec = tab.childNodes.rows; var elems = sec.getElementsByTagName(‘*’); var i=0; for(i=0; i < elems.length; ++i) { if (elems.Disabled != “undefined”) elems.Disabled=true; } } Disponibilizado pelo colega João Pedro Silva

0 views0 comments

Recent Posts

See All

CRM 365 - Customer field only show Accounts

On a customer field, if the requirement is to only show Accounts, please add this line to the OnLoad of the form: //Show only Account records when selecting the Customer formContext.getControl("cu

Execute Workflow Request on CRM 365 Cloud

Please find below an example of calling the Execute method to run a workflow on CRM 365 Cloud. let Id = formContext.data.entity.getId().replace('{', '').replace('}', ''); let request =

Comments


bottom of page