PrashantLearnIT
Tera Sage
Options
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 11-17-2022 07:36 PM
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);
}
}
}
Labels:
- 910 Views