function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ashwath_KAshwath_K 

Scontrol to Update Readonly Field

I need to update a Checkbox on click of the New Task button. But the Field is a read only field at the Pagelayout.

Is there any way I can select that checkbx using Scontrol .

 

I tried the below code but it is not working on Readonly fields(except for Sys Admin Login)

 

function LoadingA()
{
var url = parent.location.href;
url += "&00NT0000000mtfv="+"1";
url += "&nooverride=1";
alert("url : "+url);
parent.location.href = url;