PrashantLearnIT
Tera Sage

In this session, I have explained how to return multiple values from the script include and pass it to the client side.

 

If you have any feedback related to the scripting part, please write it in the comment box.

====================CLIENT SCRIPT======================

Table - Change Request

Type - OnLoad Scripts

function onLoad() {

//Type an appropriate comment here and begin the script below

var state = g_form.getValue('state');

 

if (state == 3); {

var fields = g_form.getEditableFields();

for (var x = 0; x < fields.length; x++) {

g_form.setReadOnly(fields[x], true);

}

}

}

Version history
Last update:
‎11-17-2022 07:36 PM
Updated by:
Contributors