You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to make the particular variable field as "Read Only" in RITM table on type as "onLoad"
I have attached the code below,
function onLoad() {
// Specify the variable name 'groups'
var variableName = 'groups';
// Get the value of the 'groups' variable
var groupsValue = g_form.getValue(variableName);
// Check if the 'groups' variable exists and is not empty
if (g_form.hasField(variableName) && groupsValue !== '') {
// Make the variable field read-only
g_form.setReadOnly(variableName, true);
}
}
This is my code, but it doesn't works
The text was updated successfully, but these errors were encountered:
How to make the particular variable field as "Read Only" in RITM table on type as "onLoad"
I have attached the code below,
function onLoad() {
// Specify the variable name 'groups'
var variableName = 'groups';
}
This is my code, but it doesn't works
The text was updated successfully, but these errors were encountered: